Home
last modified time | relevance | path

Searched refs:X509EncodedKeySpec (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/tests/security/spec/
DX509EncodedKeySpecTest.java29 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()
DEncodedKeySpec2Test.java30 import java.security.spec.X509EncodedKeySpec;
50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); in test_getEncoded()
/libcore/ojluni/src/main/java/java/security/spec/
DX509EncodedKeySpec.java52 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/
DX509EncodedKeySpec.annotated.java30 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/
DKeySizeTest.java57 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()
DKeySpecTest.java49 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()
DNegativeTest.java58 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/
DKeyAgreementThread.java26 import java.security.spec.X509EncodedKeySpec;
51 X509EncodedKeySpec x509KeySpec = new X509EncodedKeySpec(publicKey); in getSecretKey()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestKeyPair.java31 import java.security.spec.X509EncodedKeySpec;
591 new X509EncodedKeySpec( in getPublic()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java32 import java.security.spec.X509EncodedKeySpec;
171 return f.generatePublic(new X509EncodedKeySpec(encoded)); in readResolve()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509Key.java39 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/
DKeyFactory2Test.java36 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/
DSignatureTest.java36 import java.security.spec.X509EncodedKeySpec;
313 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); in createPublicKey()
/libcore/ojluni/src/test/java/security/cert/
DX509CertSelectorTest.java43 import java.security.spec.X509EncodedKeySpec;
499 X509EncodedKeySpec keySpec = new X509EncodedKeySpec( in testSubjectPublicKey()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java48 import java.security.spec.X509EncodedKeySpec;
176 return kf.generatePublic(new X509EncodedKeySpec(keyBytes)); in getRsaCertificatePublicKey()
/libcore/
Dopenjdk_java_files.bp731 "ojluni/src/main/java/java/security/spec/X509EncodedKeySpec.java",
DEXPECTED_UPSTREAM723 …a/java/security/spec/X509EncodedKeySpec.java,jdk17u/jdk-17.0.10-ga,src/java.base/share/classes/jav…
/libcore/api/
Dcurrent.txt9594 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);