Searched defs:modulus (Results 1 - 25 of 27) 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 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 " +
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);
/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/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/hotspot/src/cpu/zero/vm/
H A Dassembler_zero.cpp59 void MacroAssembler::align(int modulus) { argument
60 while (offset() % modulus != 0)
/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 DKeyStore.java919 byte[] modulus,
917 generatePrivateKeyBlob( int keyBitLength, byte[] modulus, byte[] publicExponent, byte[] privateExponent, byte[] primeP, byte[] primeQ, byte[] exponentP, byte[] exponentQ, byte[] crtCoefficient) argument
/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/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/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...]
/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/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/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
H A DIdentities.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
/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/src/windows/native/sun/security/mscapi/
H A Dsecurity.cpp1576 jbyteArray modulus = NULL; local
1606 modulus = env->NewByteArray(len);
1607 env->SetByteArrayRegion(modulus, 0, len, modulusBytes);
1618 return modulus;
1655 * BYTE modulus[rsapubkey.bitlen/8];
1661 * BYTE modulus[rsapubkey.bitlen/8];
/openjdk7/hotspot/src/cpu/x86/vm/
H A DstubGenerator_x86_32.cpp1698 { int modulus = CodeEntryAlignment; local
1699 int target = modulus - 5; // 5 = sizeof jmp(L_failed)
1700 int advance = target - (__ offset() % modulus);
1701 if (advance < 0) advance += modulus;
H A DstubGenerator_x86_64.cpp2559 { int modulus = CodeEntryAlignment; local
2560 int target = modulus - 5; // 5 = sizeof jmp(L_failed)
2561 int advance = target - (__ offset() % modulus);
2562 if (advance < 0) advance += modulus;

Completed in 163 milliseconds

12