/libcore/luni/src/test/java/tests/security/spec/ |
D | PKCS8EncodedKeySpecTest.java | 28 import java.security.spec.PKCS8EncodedKeySpec; 49 EncodedKeySpec eks = new PKCS8EncodedKeySpec(encodedKey); in testPKCS8EncodedKeySpec() 51 assertTrue(eks instanceof PKCS8EncodedKeySpec); in testPKCS8EncodedKeySpec() 53 eks = new PKCS8EncodedKeySpec(null); in testPKCS8EncodedKeySpec() 67 PKCS8EncodedKeySpec meks = new PKCS8EncodedKeySpec(encodedKey); in testGetEncoded() 81 PKCS8EncodedKeySpec meks = new PKCS8EncodedKeySpec(encodedKey); in testGetFormat() 97 PKCS8EncodedKeySpec meks = new PKCS8EncodedKeySpec(encodedKeyCopy); in testIsStatePreserved1() 121 PKCS8EncodedKeySpec meks = new PKCS8EncodedKeySpec(encodedKeyCopy); in testIsStatePreserved2() 140 PKCS8EncodedKeySpec meks = new PKCS8EncodedKeySpec(encodedKey, algorithm); in testGetAlgorithm()
|
D | EncodedKeySpec2Test.java | 29 import java.security.spec.PKCS8EncodedKeySpec; 57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in test_getEncoded()
|
D | X509EncodedKeySpecTest.java | 28 import java.security.spec.PKCS8EncodedKeySpec;
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | PKCS8EncodedKeySpec.java | 62 public class PKCS8EncodedKeySpec extends EncodedKeySpec { class 73 public PKCS8EncodedKeySpec(byte[] encodedKey) { in PKCS8EncodedKeySpec() method in PKCS8EncodedKeySpec 97 public PKCS8EncodedKeySpec(byte[] encodedKey, String algorithm) { in PKCS8EncodedKeySpec() method in PKCS8EncodedKeySpec
|
/libcore/ojluni/annotations/flagged_api/java/security/spec/ |
D | PKCS8EncodedKeySpec.annotated.java | 30 public class PKCS8EncodedKeySpec extends java.security.spec.EncodedKeySpec { class 32 public PKCS8EncodedKeySpec(byte[] encodedKey) { super((byte[])null); throw new RuntimeException("St… in PKCS8EncodedKeySpec() method in PKCS8EncodedKeySpec 34 public PKCS8EncodedKeySpec(byte[] encodedKey, java.lang.String algorithm) { super((byte[])null); th… in PKCS8EncodedKeySpec() method in PKCS8EncodedKeySpec
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | EncryptedPrivateKeyInfo.java | 246 public PKCS8EncodedKeySpec getKeySpec(Cipher cipher) in getKeySpec() 258 return new PKCS8EncodedKeySpec(encoded); in getKeySpec() 261 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey, in getKeySpecImpl() 283 return new PKCS8EncodedKeySpec(encoded); in getKeySpecImpl() 301 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) in getKeySpec() 328 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() 362 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec()
|
/libcore/ojluni/src/test/java/security/KeyAgreement/ |
D | KeySizeTest.java | 56 import java.security.spec.PKCS8EncodedKeySpec; 140 PKCS8EncodedKeySpec dhPriSpec in testKeyAttributes() 141 = new PKCS8EncodedKeySpec(dhPri.getEncoded()); in testKeyAttributes() 185 PKCS8EncodedKeySpec ecPriSpec in testKeyAttributes() 186 = new PKCS8EncodedKeySpec(ecPriv.getEncoded()); in testKeyAttributes() 222 PKCS8EncodedKeySpec xdhPriSpec in testKeyAttributes() 223 = new PKCS8EncodedKeySpec(xdhPri.getEncoded()); in testKeyAttributes()
|
D | KeySpecTest.java | 48 import java.security.spec.PKCS8EncodedKeySpec; 171 PKCS8EncodedKeySpec priSpec in testEncodedKeySpecs() 172 = new PKCS8EncodedKeySpec(kp.getPrivate().getEncoded()); in testEncodedKeySpecs() 213 return Arrays.asList(PKCS8EncodedKeySpec.class, in getCompatibleKeySpecs() 221 return Arrays.asList(PKCS8EncodedKeySpec.class, in getCompatibleKeySpecs() 229 return Arrays.asList(PKCS8EncodedKeySpec.class, in getCompatibleKeySpecs()
|
D | NegativeTest.java | 57 import java.security.spec.PKCS8EncodedKeySpec; 157 PKCS8EncodedKeySpec priSpec = new PKCS8EncodedKeySpec(modified); in testModifiedKeyEncodingTest()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 11 import java.security.spec.PKCS8EncodedKeySpec; 632 keys[0] = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); in init() 633 keys[1] = kf.generatePrivate(new PKCS8EncodedKeySpec(key2Bytes)); in init() 634 keys[2] = kf.generatePrivate(new PKCS8EncodedKeySpec(key3Bytes)); in init() 647 keys[0] = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); in init()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyPair.java | 30 import java.security.spec.PKCS8EncodedKeySpec; 598 new PKCS8EncodedKeySpec( in getPrivate()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 31 import java.security.spec.PKCS8EncodedKeySpec; 174 return f.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in readResolve()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 40 import java.security.spec.PKCS8EncodedKeySpec; 178 PKCS8EncodedKeySpec pkcs8KeySpec in buildPKCS8Key() 179 = new PKCS8EncodedKeySpec(pkcs8EncodedKeyStream.toByteArray()); in buildPKCS8Key()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 35 import java.security.spec.PKCS8EncodedKeySpec; 128 … privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec() 266 PKCS8EncodedKeySpec.class); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 269 .equals(PKCS8EncodedKeySpec.class)); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | TestKeystoreBasic.java | 39 import java.security.spec.PKCS8EncodedKeySpec; 151 KeySpec spec = new PKCS8EncodedKeySpec( in runTest()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | EncryptedPrivateKeyInfoTest.java | 39 import java.security.spec.PKCS8EncodedKeySpec; 1133 PKCS8EncodedKeySpec eks = epki.getKeySpec(g.c()); in test_ROUNDTRIP_GetKeySpecCipher01() 1233 PKCS8EncodedKeySpec eks = epki in test_ROUNDTRIP_GetKeySpecKey01() 1378 PKCS8EncodedKeySpec eks = epki.getKeySpec( in test_ROUNDTRIP_GetKeySpecKeyString01() 1519 PKCS8EncodedKeySpec eks = epki.getKeySpec( in test_ROUNDTRIP_GetKeySpecKeyProvider01()
|
/libcore/ |
D | openjdk_java_files.bp | 721 "ojluni/src/main/java/java/security/spec/PKCS8EncodedKeySpec.java",
|
D | EXPECTED_UPSTREAM | 715 …/java/security/spec/PKCS8EncodedKeySpec.java,jdk17u/jdk-17.0.10-ga,src/java.base/share/classes/jav…
|
/libcore/api/ |
D | current.txt | 9520 public class PKCS8EncodedKeySpec extends java.security.spec.EncodedKeySpec { 9521 ctor public PKCS8EncodedKeySpec(byte[]); 9522 ctor @FlaggedApi("com.android.libcore.v_apis") public PKCS8EncodedKeySpec(byte[], String); 19013 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(javax.crypto.Cipher) throws java.s… 19014 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key) throws java.sec… 19015 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, String) throws … 19016 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, java.security.P…
|