Searched refs:modulus (Results 1 - 25 of 35) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/security/spec/
H A DRSAPrivateKeySpec.java46 private BigInteger modulus; field in class:RSAPrivateKeySpec
52 * @param modulus the modulus
55 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) { argument
56 this.modulus = modulus;
61 * Returns the modulus.
63 * @return the modulus
66 return this.modulus;
H A DRSAPublicKeySpec.java46 private BigInteger modulus; field in class:RSAPublicKeySpec
52 * @param modulus the modulus
55 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { argument
56 this.modulus = modulus;
61 * Returns the modulus.
63 * @return the modulus
66 return this.modulus;
H A DRSAPrivateCrtKeySpec.java59 * given the modulus, publicExponent, privateExponent,
63 * @param modulus the modulus n
73 public RSAPrivateCrtKeySpec(BigInteger modulus, argument
81 super(modulus, privateExponent);
H A DRSAMultiPrimePrivateCrtKeySpec.java61 * given the modulus, publicExponent, privateExponent,
69 * @param modulus the modulus n.
81 * <code>modulus</code>,
89 public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, argument
98 super(modulus, privateExponent);
99 if (modulus == null) {
100 throw new NullPointerException("the modulus parameter must be " +
/openjdk7/hotspot/src/cpu/zero/vm/
H A Dassembler_zero.cpp59 void MacroAssembler::align(int modulus) { argument
60 while (offset() % modulus != 0)
H A Dassembler_zero.hpp50 void align(int modulus);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DDHCrypt.java46 * called the shared secret. It has the same length as the modulus, e.g. 512
59 * . if we are client, call DHCrypt(modulus, base, random). This
80 // group parameters (prime modulus and generator)
81 private BigInteger modulus; // P (aka N) field in class:DHCrypt
107 modulus = spec.getP();
118 * @param modulus the Diffie-Hellman modulus P
121 DHCrypt(BigInteger modulus, BigInteger base, SecureRandom random) { argument
122 this.modulus = modulus;
[all...]
H A DJsseJce.java355 BigInteger modulus;
357 modulus = ((RSAPublicKey)key).getModulus();
360 modulus = spec.getModulus();
362 return modulus.bitLength();
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSAPublicKey.java46 private BigInteger modulus = null; field in class:RSAPublicKey
82 .append("]\n modulus: ").append(getModulus())
108 * Returns the modulus.
112 if (modulus == null) {
116 modulus = new BigInteger(1, getModulus(publicKeyBlob));
123 return modulus;
188 * Returns the key's modulus (in big-endian 2's complement format).
H A DRSASignature.java252 BigInteger modulus = rsaKey.getModulus();
257 RSAKeyFactory.checkKeyLengths(((modulus.bitLength() + 7) & ~7),
260 byte[] modulusBytes = modulus.toByteArray();
517 int keyBitLength, byte[] modulus, byte[] publicExponent)
516 generatePublicKeyBlob( int keyBitLength, byte[] modulus, byte[] publicExponent) argument
H A DRSACipher.java203 BigInteger modulus = rsaKey.getModulus();
208 RSAKeyFactory.checkKeyLengths(((modulus.bitLength() + 7) & ~7),
211 byte[] modulusBytes = modulus.toByteArray();
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSACore.java68 * Return the number of bytes required to store the modulus of this
176 * Parse the msg into a BigInteger and check against the modulus n.
182 throw new BadPaddingException("Message is larger than modulus");
220 // when the modulus is GC'ed
227 * The RSA modulus is usually unique, so we index by modulus in
229 * keys sharing the same modulus, we also store the public exponent.
231 * share the same modulus, but since sharing moduli is fundamentally broken
263 BigInteger modulus = key.getModulus();
268 // parameters for the same modulus
[all...]
/openjdk7/jdk/src/share/classes/javax/management/monitor/
H A DCounterMonitor.java54 * <P> If the counter can wrap around its maximum value, the modulus
55 * needs to be specified. The modulus is the value at which the
62 * value of the modulus. The derived gauge value (V[t]) is calculated
157 * Counter modulus.
160 private Number modulus = INTEGER_ZERO; field in class:CounterMonitor
307 // maximum value, then the modulus value needs to be set to that
309 // it strictly exceeds the modulus value. When the threshold rolls
315 modulus.longValue() > 0L &&
316 o.getThreshold().longValue() > modulus.longValue()) {
487 * Gets the modulus valu
[all...]
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorTest.java43 // modulus number
44 private Number modulus = new Integer(7); field in class:CounterMonitorTest
157 counterMonitor.setModulus(modulus);
158 echo("\tATTRIBUTE \"Modulus\" = " + modulus);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/keyvalues/
H A DRSAKeyValue.java63 * @param modulus
66 public RSAKeyValue(Document doc, BigInteger modulus, BigInteger exponent) { argument
71 this.addBigIntegerElement(modulus, Constants._TAG_MODULUS);
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMKeyValue.java64 private DOMCryptoBinary modulus, exponent; field in class:DOMKeyValue
81 modulus = new DOMCryptoBinary(rkey.getModulus());
175 modulus.marshal(modulusElem, dsPrefix, context);
232 modulus = new DOMCryptoBinary(modulusElem.getFirstChild());
236 (modulus.getBigNum(), exponent.getBigNum());
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHKeyAgreement.java293 BigInteger modulus = init_p;
294 int expectedLen = (modulus.bitLength() + 7) >>> 3;
318 byte[] secret = this.y.modPow(this.x, modulus).toByteArray();
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/ClientHandshaker/
H A DRSAExport.java65 * modulus:
287 static byte modulus[] = { field in class:RSAExport
537 new BigInteger(modulus),
/openjdk7/jdk/test/java/security/KeyFactory/
H A DGenerateRSAPrivateCrtKey.java44 new RSAPrivateCrtKeySpec(new BigInteger(1, modulus),
74 throw new Exception("modulus not equal");
92 static byte[] modulus = { field in class:GenerateRSAPrivateCrtKey
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/
H A DPKIXExtendedTM.java90 * modulus:
238 * modulus:
714 String keyCertStr, byte[] modulus,
735 new BigInteger(modulus),
713 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument
H A DSunX509ExtendedTM.java90 * modulus:
238 * modulus:
715 String keyCertStr, byte[] modulus,
736 new BigInteger(modulus),
714 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DDNSIdentities.java91 * modulus:
239 * modulus:
842 String keyCertStr, byte[] modulus,
863 new BigInteger(modulus),
841 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument
H A DIPAddressDNSIdentities.java91 * modulus:
239 * modulus:
851 String keyCertStr, byte[] modulus,
872 new BigInteger(modulus),
850 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument
H A DIPAddressIPIdentities.java91 * modulus:
239 * modulus:
843 String keyCertStr, byte[] modulus,
864 new BigInteger(modulus),
842 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument
H A DIPIdentities.java91 * modulus:
239 * modulus:
842 String keyCertStr, byte[] modulus,
863 new BigInteger(modulus),
841 getSSLContext(String trusedCertStr, String keyCertStr, byte[] modulus, byte[] privateExponent, char[] passphrase) argument

Completed in 2850 milliseconds

12