Searched refs:getEncoded (Results 1 - 25 of 138) sorted by relevance

123456

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DEncodedKeySpecTest.java46 * 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();
H A DPKCS8EncodedKeySpecTest.java62 * 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();
H A DX509EncodedKeySpecTest.java62 * 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/src/main/java/org/bouncycastle/asn1/
H A DASN1Encodable.java21 public byte[] getEncoded() method in class:ASN1Encodable
39 public byte[] getEncoded( method in class:ASN1Encodable
53 return this.getEncoded();
65 return this.getEncoded(DER);
/external/apache-harmony/security/src/test/api/java.injected/java/security/cert/
H A DmyCertPath.java38 public byte[] getEncoded() { method in class:myCertPath
42 public byte[] getEncoded(String s) { method in class:myCertPath
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
H A DCertificateTest.java47 public byte[] getEncoded() method in class:CertificateTest.TBTCert
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/
H A DX509CRLEntryTest.java61 public byte[] getEncoded() throws CRLException { method in class:X509CRLEntryTest.TBTCRLEntry
84 public byte[] getEncoded() throws CRLException {
97 public byte[] getEncoded() {
103 public byte[] getEncoded() {
109 public byte[] getEncoded() {
147 public byte[] getEncoded() {
H A DX509CRLTest.java82 public byte[] getEncoded() { method in class:X509CRLTest.TBTCRL
148 public byte[] getEncoded() {
170 public byte[] getEncoded() {
176 public byte[] getEncoded() {
182 public byte[] getEncoded() {
218 public byte[] getEncoded() {
232 public byte[] getEncoded() {
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/
H A DCertificationRequestInfoTest.java62 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo
63 .getSubjectPublicKeyInfo().getEncoded()));
67 byte[] encoding = certReqInfo.getEncoded();
77 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded()));
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertPath.java75 * @see java.security.cert.CertPath#getEncoded()
77 public byte[] getEncoded() throws CertificateEncodingException { method in class:MyCertPath
86 * @see java.security.cert.CertPath#getEncoded(java.lang.String)
88 public byte[] getEncoded(String encoding) method in class:MyCertPath
H A DMyCertificate.java56 public byte[] getEncoded() throws CertificateEncodingException { method in class:MyCertificate
93 public byte[] getEncoded() {
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DSecretKeyTest.java61 public byte[] getEncoded() { method in class:SecretKeyTest.checkSecretKey
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DKeyTest.java60 public byte[] getEncoded() { method in class:KeyTest.checkKey
H A DPrivateKeyTest.java62 public byte[] getEncoded() { method in class:PrivateKeyTest.checkPrivateKey
H A DPublicKeyTest.java61 public byte[] getEncoded() { method in class:PublicKeyTest.checkPublicKey
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
H A DKeyPairTest.java83 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/
H A DPrivateKeyStub.java70 * @see java.security.Key#getEncoded()
72 public byte[] getEncoded() { method in class:PrivateKeyStub
H A DPublicKeyStub.java67 * @see java.security.Key#getEncoded()
69 public byte[] getEncoded() { method in class:PublicKeyStub
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
H A DORAddressTest.java60 printAsHex(8, "", " ", ora.getEncoded());
65 printAsHex(8, "", " ", gName.getEncoded());
71 printAsHex(8, "", " ", gNames.getEncoded());
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
H A DX509CertPathImplTest.java78 byte[] encoding = certPath.getEncoded();
89 byte[] encoding = certPath.getEncoded();
102 byte[] encoding = certPath.getEncoded();
110 encoding = cert_path.getEncoded("PKCS7");
129 byte[] encoding = certPath.getEncoded();
141 * getEncoded() method testing.
144 certPath.getEncoded();
148 * getEncoded(String encoding) method testing.
152 certPath.getEncoded("ABRACADABRA");
/external/bouncycastle/src/main/java/org/bouncycastle/openssl/
H A DMiscPEMGenerator.java116 encoding = ((X509Certificate)o).getEncoded();
128 encoding = ((X509CRL)o).getEncoded();
142 (ASN1Sequence) ASN1Object.fromByteArray(((Key)o).getEncoded()));
148 encoding = info.getPrivateKey().getEncoded();
168 encoding = new DERSequence(v).getEncoded();
174 encoding = info.getPrivateKey().getEncoded();
185 encoding = ((PublicKey)o).getEncoded();
190 encoding = ((X509V2AttributeCertificate)o).getEncoded();
195 encoding = ((PKCS10CertificationRequest)o).getEncoded();
200 encoding = ((ContentInfo)o).getEncoded();
[all...]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/
H A DKerberosTicketTest.java72 assertTrue("Ticket", Arrays.equals(init.getEncoded(), desr
73 .getEncoded()));
78 assertTrue("Key", Arrays.equals(init.getSessionKey().getEncoded(),
79 desr.getSessionKey().getEncoded()));
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
H A DDHPrivateKeyTest.java64 public byte[] getEncoded() { method in class:DHPrivateKeyTest.checkDHPrivateKey
H A DDHPublicKeyTest.java66 public byte[] getEncoded() { method in class:DHPublicKeyTest.checkDHPublicKey
H A DPBEKeyTest.java63 public byte[] getEncoded() { method in class:PBEKeyTest.checkPBEKey

Completed in 692 milliseconds

123456