/libcore/luni/src/test/java/tests/security/spec/ |
D | X509EncodedKeySpecTest.java | 29 import java.security.spec.X509EncodedKeySpec; 50 EncodedKeySpec eks = new X509EncodedKeySpec(encodedKey); in testX509EncodedKeySpec() 52 assertTrue(eks instanceof X509EncodedKeySpec); in testX509EncodedKeySpec() 54 eks = new X509EncodedKeySpec(null); in testX509EncodedKeySpec() 68 X509EncodedKeySpec eks = new X509EncodedKeySpec(encodedKey); in testGetEncoded() 82 X509EncodedKeySpec meks = new X509EncodedKeySpec(encodedKey); in testGetFormat() 98 X509EncodedKeySpec meks = new X509EncodedKeySpec(encodedKeyCopy); in testIsStatePreserved1() 122 X509EncodedKeySpec meks = new X509EncodedKeySpec(encodedKeyCopy); in testIsStatePreserved2() 140 X509EncodedKeySpec meks = new X509EncodedKeySpec(encodedKey, algorithm); in testGetAlgorithm()
|
D | EncodedKeySpec2Test.java | 30 import java.security.spec.X509EncodedKeySpec; 50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); in test_getEncoded()
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | X509EncodedKeySpec.java | 52 public class X509EncodedKeySpec extends EncodedKeySpec { class 63 public X509EncodedKeySpec(byte[] encodedKey) { in X509EncodedKeySpec() method in X509EncodedKeySpec 87 public X509EncodedKeySpec(byte[] encodedKey, String algorithm) { in X509EncodedKeySpec() method in X509EncodedKeySpec
|
/libcore/ojluni/annotations/flagged_api/java/security/spec/ |
D | X509EncodedKeySpec.annotated.java | 30 public class X509EncodedKeySpec extends java.security.spec.EncodedKeySpec { class 32 public X509EncodedKeySpec(byte[] encodedKey) { super((byte[])null); throw new RuntimeException("Stu… in X509EncodedKeySpec() method in X509EncodedKeySpec 35 public X509EncodedKeySpec(byte[] encodedKey, java.lang.String algorithm) { super((byte[])null); thr… in X509EncodedKeySpec() method in X509EncodedKeySpec
|
/libcore/ojluni/src/test/java/security/KeyAgreement/ |
D | KeySizeTest.java | 57 import java.security.spec.X509EncodedKeySpec; 158 X509EncodedKeySpec dhPubSpec in testKeyAttributes() 159 = new X509EncodedKeySpec(dhPub.getEncoded()); in testKeyAttributes() 203 X509EncodedKeySpec ecPubSpec in testKeyAttributes() 204 = new X509EncodedKeySpec(ecPub.getEncoded()); in testKeyAttributes() 234 X509EncodedKeySpec xdhPubSpec in testKeyAttributes() 235 = new X509EncodedKeySpec(xdhPub.getEncoded()); in testKeyAttributes()
|
D | KeySpecTest.java | 49 import java.security.spec.X509EncodedKeySpec; 175 X509EncodedKeySpec pubSpec in testEncodedKeySpecs() 176 = new X509EncodedKeySpec(kp.getPublic().getEncoded()); in testEncodedKeySpecs() 210 return Arrays.asList(X509EncodedKeySpec.class, in getCompatibleKeySpecs() 218 return Arrays.asList(X509EncodedKeySpec.class, in getCompatibleKeySpecs() 226 return Arrays.asList(X509EncodedKeySpec.class, in getCompatibleKeySpecs()
|
D | NegativeTest.java | 58 import java.security.spec.X509EncodedKeySpec; 167 X509EncodedKeySpec pubSpec = new X509EncodedKeySpec(modified); in testModifiedKeyEncodingTest()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 26 import java.security.spec.X509EncodedKeySpec; 51 X509EncodedKeySpec x509KeySpec = new X509EncodedKeySpec(publicKey); in getSecretKey()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyPair.java | 31 import java.security.spec.X509EncodedKeySpec; 591 new X509EncodedKeySpec( in getPublic()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 32 import java.security.spec.X509EncodedKeySpec; 171 return f.generatePublic(new X509EncodedKeySpec(encoded)); in readResolve()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509Key.java | 39 import java.security.spec.X509EncodedKeySpec; 215 X509EncodedKeySpec x509KeySpec in buildX509Key() 216 = new X509EncodedKeySpec(x509EncodedKeyStream.toByteArray()); in buildX509Key()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 36 import java.security.spec.X509EncodedKeySpec; 262 X509EncodedKeySpec.class); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 264 encodedSpec.getClass().equals(X509EncodedKeySpec.class)); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 36 import java.security.spec.X509EncodedKeySpec; 313 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); in createPublicKey()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | X509CertSelectorTest.java | 43 import java.security.spec.X509EncodedKeySpec; 499 X509EncodedKeySpec keySpec = new X509EncodedKeySpec( in testSubjectPublicKey()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 48 import java.security.spec.X509EncodedKeySpec; 176 return kf.generatePublic(new X509EncodedKeySpec(keyBytes)); in getRsaCertificatePublicKey()
|
/libcore/ |
D | openjdk_java_files.bp | 731 "ojluni/src/main/java/java/security/spec/X509EncodedKeySpec.java",
|
D | EXPECTED_UPSTREAM | 723 …a/java/security/spec/X509EncodedKeySpec.java,jdk17u/jdk-17.0.10-ga,src/java.base/share/classes/jav…
|
/libcore/api/ |
D | current.txt | 9594 public class X509EncodedKeySpec extends java.security.spec.EncodedKeySpec { 9595 ctor public X509EncodedKeySpec(byte[]); 9596 ctor @FlaggedApi("com.android.libcore.v_apis") public X509EncodedKeySpec(byte[], String);
|