Searched defs:secretKey (Results 1 - 5 of 5) sorted by relevance
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/ |
H A D | TestRSACipherWrap.java | 68 SecretKey secretKey = null; 73 secretKey = keygen.generateKey(); 76 secretKey = new SecretKeySpec(new byte[32], algorithm); 79 test(kp, secretKey, cipherPKCS11, cipherJce); 80 test(kp, secretKey, cipherPKCS11, cipherPKCS11); 81 test(kp, secretKey, cipherJce, cipherPKCS11); 87 private static void test(KeyPair kp, SecretKey secretKey, argument 90 String algo = secretKey.getAlgorithm(); 92 byte[] wrappedKey = wrapCipher.wrap(secretKey); 99 if (!Arrays.equals(secretKey [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | RSAClientKeyExchange.java | 183 SecretKey secretKey, Exception failoverException) { 187 if (failoverException == null && secretKey != null) { 189 byte[] encoded = secretKey.getEncoded(); 196 int keySize = KeyUtil.getKeySize(secretKey); 211 return secretKey; 217 return secretKey; 227 return secretKey; 181 polishPreMasterSecretKey(ProtocolVersion currentVersion, ProtocolVersion clientHelloVersion, SecureRandom generator, SecretKey secretKey, Exception failoverException) argument
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | IntegrityHmac.java | 145 * @param secretKey 148 protected void engineInitVerify(Key secretKey) throws XMLSignatureException { argument 150 if (!(secretKey instanceof SecretKey)) { 151 String supplied = secretKey.getClass().getName(); 160 this._macAlgorithm.init(secretKey); 234 * @param secretKey 237 protected void engineInitSign(Key secretKey) throws XMLSignatureException { argument 239 if (!(secretKey instanceof SecretKey)) { 240 String supplied = secretKey.getClass().getName(); 249 this._macAlgorithm.init(secretKey); 262 engineInitSign( Key secretKey, AlgorithmParameterSpec algorithmParameterSpec) argument 291 engineInitSign(Key secretKey, SecureRandom secureRandom) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | KeyStore.java | 494 * @param secretKey the <code>SecretKey</code> 496 * @exception NullPointerException if <code>secretKey</code> 499 public SecretKeyEntry(SecretKey secretKey) { argument 500 if (secretKey == null) { 503 this.sKey = secretKey;
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11Key.java | 283 static SecretKey secretKey(Session session, long keyID, String algorithm, method in class:P11Key
|
Completed in 30 milliseconds