HomeSort by relevance Sort by last modified time
    Searched refs:getEncoded (Results 1 - 25 of 223) sorted by null

1 2 3 4 5 6 7 8 9

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpecTest.java 46 * Tests that <code>getEncoded()</code> method
55 byte[] ek = meks.getEncoded();
83 byte[] ek = meks.getEncoded();
92 * of <code>getEncoded()</code> method
100 byte[] ek = meks.getEncoded();
104 byte[] ek1 = meks.getEncoded();
PKCS8EncodedKeySpecTest.java 62 * Test for <code>getEncoded()</code> method<br>
70 byte[] ek = meks.getEncoded();
104 byte[] ek = meks.getEncoded();
114 * of <code>getEncoded()</code> method
124 byte[] ek = meks.getEncoded();
130 byte[] ek1 = meks.getEncoded();
X509EncodedKeySpecTest.java 62 * Test for <code>getEncoded()</code> method<br>
70 byte[] ek = eks.getEncoded();
104 byte[] ek = meks.getEncoded();
114 * of <code>getEncoded()</code> method
124 byte[] ek = meks.getEncoded();
130 byte[] ek1 = meks.getEncoded();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
JcaJceUtils.java 30 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1"));
34 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded());
46 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1");
50 params.init(sParams.toASN1Primitive().getEncoded());
  /external/apache-harmony/security/src/test/api/java.injected/java/security/cert/
myCertPath.java 36 public byte[] getEncoded() {
40 public byte[] getEncoded(String s) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
CertificateTest.java 47 public byte[] getEncoded()
80 public byte[] getEncoded() {
86 public byte[] getEncoded() {
92 public byte[] getEncoded() {
98 public byte[] getEncoded() {
134 public byte[] getEncoded() {
139 public byte[] getEncoded() {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
X509CRLEntryTest.java 61 public byte[] getEncoded() throws CRLException {
84 public byte[] getEncoded() throws CRLException {
97 public byte[] getEncoded() {
103 public byte[] getEncoded() {
109 public byte[] getEncoded() {
147 public byte[] getEncoded() {
X509CRLTest.java 82 public byte[] getEncoded() {
146 public byte[] getEncoded() {
168 public byte[] getEncoded() {
174 public byte[] getEncoded() {
180 public byte[] getEncoded() {
216 public byte[] getEncoded() {
230 public byte[] getEncoded() {
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/
JcaX509CertificateHolder.java 24 super(Certificate.getInstance(cert.getEncoded()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseKeyFactorySpi.java 28 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
49 return generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()));
69 return new PKCS8EncodedKeySpec(key.getEncoded());
73 return new X509EncodedKeySpec(key.getEncoded());
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/
CertificationRequestInfoTest.java 61 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo
62 .getSubjectPublicKeyInfo().getEncoded()));
66 byte[] encoding = certReqInfo.getEncoded();
76 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded()));
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
MyCertPath.java 74 * @see java.security.cert.CertPath#getEncoded()
76 public byte[] getEncoded() throws CertificateEncodingException {
85 * @see java.security.cert.CertPath#getEncoded(java.lang.String)
87 public byte[] getEncoded(String encoding)
MyCertificate.java 56 public byte[] getEncoded() throws CertificateEncodingException {
94 public byte[] getEncoded() {
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyTest.java 62 public byte[] getEncoded() {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyTest.java 62 public byte[] getEncoded() {
PrivateKeyTest.java 62 public byte[] getEncoded() {
PublicKeyTest.java 63 public byte[] getEncoded() {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
KeyPairTest.java 83 assertTrue("PublicKey encoded", Arrays.equals(key1.getEncoded(),
84 key2.getEncoded()));
94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded(),
95 key2.getEncoded()));
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
PrivateKeyStub.java 73 * @see java.security.Key#getEncoded()
75 public byte[] getEncoded() {
PublicKeyStub.java 68 * @see java.security.Key#getEncoded()
70 public byte[] getEncoded() {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java 29 PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded());
56 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded());
80 return new PKCS8EncodedKeySpec(key.getEncoded());
84 return new X509EncodedKeySpec(key.getEncoded());
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
ORAddressTest.java 60 printAsHex(8, "", " ", ora.getEncoded());
65 printAsHex(8, "", " ", gName.getEncoded());
71 printAsHex(8, "", " ", gNames.getEncoded());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1Object.java 15 public byte[] getEncoded()
33 public byte[] getEncoded(
56 return this.getEncoded();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java 57 return new SecretKeySpec(key.getEncoded(), algName);
67 p[0] = key.getEncoded();
91 return new SecretKeySpec(key.getEncoded(), algName);
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSecretKey.java 56 key.getEncoded()));
77 public byte[] getEncoded() {
116 return Arrays.equals(encoded, other.getEncoded());

Completed in 911 milliseconds

1 2 3 4 5 6 7 8 9