/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSAKeyPairGenerator.java | 51 private int keySize; field in class:RSAKeyPairGenerator 62 public void initialize(int keySize, SecureRandom random) { argument 67 RSAKeyFactory.checkKeyLengths(keySize, RSAKeyGenParameterSpec.F4, 73 this.keySize = keySize; 113 this.keySize = tmpKeySize; 121 int lp = (keySize + 1) >> 1; 122 int lq = keySize - lp; 143 } while (n.bitLength() < keySize);
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | AESKeyGenerator.java | 48 private int keySize = 16; // default keysize (in number of bytes) field in class:AESKeyGenerator 96 this.keySize = keysize/8; 112 byte[] keyBytes = new byte[keySize];
|
H A D | KeyGeneratorCore.java | 55 private int keySize; field in class:KeyGeneratorCore 72 // reset keySize to default 74 this.keySize = defaultKeySize; 93 this.keySize = keysize; 103 byte[] b = new byte[(keySize + 7) >> 3]; 121 protected void engineInit(int keySize, SecureRandom random) { argument 122 core.implInit(keySize, random); 142 protected void engineInit(int keySize, SecureRandom random) { argument 143 core.implInit(keySize, random); 163 protected void engineInit(int keySize, SecureRando argument 184 engineInit(int keySize, SecureRandom random) argument 209 engineInit(int keySize, SecureRandom random) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
H A D | RSAKeyPairGenerator.java | 51 // size of the key to generate, KEY_SIZE_MIN <= keySize <= KEY_SIZE_MAX 52 private int keySize; field in class:RSAKeyPairGenerator 61 public void initialize(int keySize, SecureRandom random) { argument 64 RSAKeyFactory.checkKeyLengths(keySize, null, 70 this.keySize = keySize; 102 this.keySize = tmpSize; 112 generateRSAKeyPair(keySize, 122 private static native RSAKeyPair generateRSAKeyPair(int keySize, argument
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/ |
H A D | KeyTabConstants.java | 49 final int keySize = 2; field in interface:KeyTabConstants
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11KeyPairGenerator.java | 65 private int keySize; field in class:P11KeyPairGenerator 90 public void initialize(int keySize, SecureRandom random) { argument 93 checkKeySize(keySize, null); 97 this.keySize = keySize; 101 params = P11ECKeyFactory.getECParameterSpec(keySize); 105 + keySize + " bits"); 122 this.keySize = tmpKeySize; 133 this.keySize = tmpKeySize; 145 this.keySize 178 checkKeySize(int keySize, AlgorithmParameterSpec params) argument [all...] |
H A D | P11KeyGenerator.java | 56 private int keySize; field in class:P11KeyGenerator 73 * @param keySize the to-be-checked key size for this mechanism. 81 static int checkKeySize(long keyGenMech, int keySize, Token token) argument 86 if ((keySize != 64) && (keySize != 56)) { 94 if ((keySize == 112) || (keySize == 128)) { 96 } else if ((keySize == 168) || (keySize == 192)) { 116 return keySize; 219 engineInit(int keySize, SecureRandom random) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECKeyPairGenerator.java | 56 // size of the key to generate, KEY_SIZE_MIN <= keySize <= KEY_SIZE_MAX 57 private int keySize; field in class:ECKeyPairGenerator 72 public void initialize(int keySize, SecureRandom random) { argument 74 checkKeySize(keySize); 75 this.params = NamedCurve.getECParameterSpec(keySize); 78 "No EC parameters available for key size " + keySize + " bits"); 105 this.keySize = 118 byte[] seed = new byte[(((keySize + 7) >> 3) + 1) * 2]; 126 long[] handles = generateECKeyPair(keySize, encodedParams, seed); 150 private void checkKeySize(int keySize) throw argument 166 generateECKeyPair(int keySize, byte[] encodedParams, byte[] seed) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | DesMacKCksumType.java | 63 public int keySize() { method in class:DesMacKCksumType
|
H A D | HmacMd5ArcFourCksumType.java | 66 public int keySize() { method in class:HmacMd5ArcFourCksumType
|
H A D | HmacSha1Aes128CksumType.java | 66 public int keySize() { method in class:HmacSha1Aes128CksumType
|
H A D | HmacSha1Aes256CksumType.java | 66 public int keySize() { method in class:HmacSha1Aes256CksumType
|
H A D | HmacSha1Des3KdCksumType.java | 60 public int keySize() { method in class:HmacSha1Des3KdCksumType
|
H A D | RsaMd5CksumType.java | 64 public int keySize() { method in class:RsaMd5CksumType
|
H A D | Aes128CtsHmacSha1EType.java | 70 public int keySize() { method in class:Aes128CtsHmacSha1EType
|
H A D | Aes256CtsHmacSha1EType.java | 70 public int keySize() { method in class:Aes256CtsHmacSha1EType
|
H A D | ArcFourHmacEType.java | 70 public int keySize() { method in class:ArcFourHmacEType
|
H A D | CksumType.java | 151 public abstract int keySize(); method in class:CksumType
|
H A D | Crc32CksumType.java | 62 public int keySize() { method in class:Crc32CksumType
|
H A D | Des3CbcHmacSha1KdEType.java | 64 public int keySize() { method in class:Des3CbcHmacSha1KdEType
|
H A D | DesCbcEType.java | 50 public int keySize() { method in class:DesCbcEType 65 byte[] ivec = new byte[keySize()]; 134 byte[] ivec = new byte[keySize()];
|
H A D | DesMacCksumType.java | 64 public int keySize() { method in class:DesMacCksumType 103 byte[] new_key = new byte[keySize()]; 166 byte[] new_key = new byte[keySize()];
|
H A D | NullEType.java | 69 public int keySize() { method in class:NullEType
|
H A D | RsaMd5DesCksumType.java | 69 public int keySize() { method in class:RsaMd5DesCksumType 98 byte[] new_key = new byte[keySize()]; 157 byte[] new_key = new byte[keySize()];
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/ |
H A D | CK_SSL3_KEY_MAT_PARAMS.java | 120 public CK_SSL3_KEY_MAT_PARAMS(int macSize, int keySize, int ivSize, boolean export, CK_SSL3_RANDOM_DATA random) { argument 122 ulKeySizeInBits = keySize;
|