Home
last modified time | relevance | path

Searched refs:secretKey (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
DMacTest.java135 SecretKey secretKey = secretKeyFactory.generateSecret(pbeKeySpec); in test_PBEWITHHMACSHA_Variants() local
137 mac.init(secretKey); in test_PBEWITHHMACSHA_Variants()
/libcore/ojluni/src/main/java/java/security/
DKeyStore.java685 public SecretKeyEntry(SecretKey secretKey) { in SecretKeyEntry() argument
686 if (secretKey == null) { in SecretKeyEntry()
689 this.sKey = secretKey; in SecretKeyEntry()
708 public SecretKeyEntry(SecretKey secretKey, Set<Attribute> attributes) { in SecretKeyEntry() argument
710 if (secretKey == null || attributes == null) { in SecretKeyEntry()
713 this.sKey = secretKey; in SecretKeyEntry()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java256 SecretKey secretKey = keyGen.generateKey(); in testEngineEntryInstanceOf() local
260 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null); in testEngineEntryInstanceOf()
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyStore.java448 public SecretKeyEntry(javax.crypto.SecretKey secretKey) { in SecretKeyEntry() argument
453 javax.crypto.SecretKey secretKey, in SecretKeyEntry() argument