/libcore/luni/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 137 public byte[] getEncoded() {
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
ThreeIntegerSequence.java | 45 public byte[] getEncoded() {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
CertificateIssuer.java | 53 issuer = (X500Principal) ASN1.decode(getEncoded());
|
GeneralSubtrees.java | 68 public byte[] getEncoded() {
|
PolicyInformation.java | 71 public byte[] getEncoded() {
|
ReasonCode.java | 67 @Override public byte[] getEncoded() {
|
Validity.java | 75 public byte[] getEncoded() {
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 65 byte[] encoded = certificate.getEncoded();
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
DHPrivateKeyTest.java | 72 public byte[] getEncoded() {
|
DHPublicKeyTest.java | 76 public byte[] getEncoded() {
|
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
X500PrincipalTest.java | 80 byte[] resArray = xpr.getEncoded(); 115 byte[] resArray = xpr.getEncoded(); 224 * javax.security.auth.x500.X500Principal#getEncoded() 230 byte[] res = xpr.getEncoded(); 263 x = xx.getEncoded();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
RSAMultiPrimePrivateCrtKeyImpl.java | 83 public byte[] getEncoded() {
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 188 * @see java.security.cert.CertPath#getEncoded() 190 public byte[] getEncoded() throws CertificateEncodingException { 195 * @see java.security.cert.CertPath#getEncoded(java.lang.String) 197 public byte[] getEncoded(String encoding) 288 public byte[] getEncoded() { 344 public byte[] getEncoded() throws CertificateEncodingException { 459 public byte[] getEncoded() throws CertificateEncodingException { 460 byte[] asubj = subject.getEncoded(); 461 byte[] aissuer = issuer.getEncoded(); 609 * on the presumption that its {@link TestX509Certificate#getEncoded() [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 189 * @see java.security.cert.CertPath#getEncoded() 191 public byte[] getEncoded() throws CertificateEncodingException { 196 * @see java.security.cert.CertPath#getEncoded(java.lang.String) 198 public byte[] getEncoded(String encoding) 289 public byte[] getEncoded() { 345 public byte[] getEncoded() throws CertificateEncodingException { 460 public byte[] getEncoded() throws CertificateEncodingException { 461 byte[] asubj = subject.getEncoded(); 462 byte[] aissuer = issuer.getEncoded(); 610 * on the presumption that its {@link TestX509Certificate#getEncoded() [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosTicketTest.java | 160 * @tests javax.security.auth.kerberos.KerberosTicket#getEncoded() 168 assertTrue(Arrays.equals(ticket, krbTicket.getEncoded())); 171 assertNotSame(ticket, krbTicket.getEncoded()); 174 assertNotSame(krbTicket.getEncoded(), krbTicket.getEncoded()); 325 byte[] keyBytes = sKey.getEncoded(); 329 assertNotSame(sessionKey, sKey.getEncoded()); 331 assertNotSame(sKey.getEncoded(), sKey.getEncoded()); 405 kt.getEncoded(); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CRLImpl.java | 138 * @see java.security.cert.X509CRL#getEncoded() 141 public byte[] getEncoded() throws CRLException { 143 encoding = crl.getEncoded(); 329 tbsCertListEncoding = tbsCertList.getEncoded(); 408 byte[] tbsEncoding = tbsCertList.getEncoded(); 426 byte[] tbsEncoding = tbsCertList.getEncoded();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl1Test.java | 464 .getEncoded()), 466 .getEncoded()) }; 499 byte[] enc = key.getEncoded(); 500 byte[] enc1 = key1.getEncoded(); 516 enc = key.getEncoded(); 517 enc1 = key1.getEncoded(); 580 tkp.getPrivate().getEncoded()); 615 byte[] enc = secKey.getEncoded(); 616 byte[] enc1 = key1.getEncoded(); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 86 * java.security.AlgorithmParameters#getEncoded() 105 params.getEncoded(); 115 assertSame(enc, params.getEncoded()); 119 * java.security.AlgorithmParameters#getEncoded(String) 141 params.getEncoded(strFormatParam); 151 assertSame(enc, params.getEncoded(strFormatParam)); 166 assertSame(enc, params.getEncoded(null)); 602 // getEncoded() and getEncoded(String) (TODO verify returned encoding) 603 byte[] enc = params.getEncoded(); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/ |
PKCS10CertificationRequest.java | 299 return new X509Principal(name.getEncoded()); 391 ASN1Sequence seq = (ASN1Sequence)ASN1Object.fromByteArray(key.getEncoded()); 413 sig.update(reqInfo.getEncoded(ASN1Encodable.DER)); 556 sig.update(reqInfo.getEncoded(ASN1Encodable.DER)); 569 public byte[] getEncoded() 573 return this.getEncoded(ASN1Encodable.DER);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKAlgorithmParameters.java | 92 return new DEROctetString(engineGetEncoded("RAW")).getEncoded(); 239 // return new RC2CBCParameter(engineGetEncoded()).getEncoded(); 243 // return new RC2CBCParameter(parameterVersion, engineGetEncoded()).getEncoded(); 364 return params.getEncoded(ASN1Encodable.DER); 447 return params.getEncoded(ASN1Encodable.DER); 542 return dhP.getEncoded(ASN1Encodable.DER); 654 return dsaP.getEncoded(ASN1Encodable.DER); 760 // return gost3410P.getEncoded(ASN1Encodable.DER); 865 // return elP.getEncoded(ASN1Encodable.DER); [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrivateCredentialTest.java | 111 public byte[] getEncoded() throws CertificateEncodingException { 151 public byte[] getEncoded() {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertFactoryPerfTest.java | 249 SubjectPublicKeyInfo.ASN1.decode(publicKey.getEncoded()); 250 keyEncoding = subjectPublicKeyInfo.getEncoded(); 258 tbsCertEncoding = tbsCertificate.getEncoded(); 346 certEncoding = cert.getEncoded(); 371 byte[] enc = c.getEncoded(); 395 byte[] enc = c.getEncoded(); 711 * getEncoded() method testing. 715 if (!Arrays.equals(certEncoding, certificate.getEncoded())) { 727 if (!Arrays.equals(keyEncoding, certificate.getPublicKey().getEncoded())) {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TimeStampRespTest.java | 49 * @tests 'org.apache.harmony.security.x509.tsp.TimeStampResp.getEncoded()' 108 timeStampToken.getEncoded(), decoded.getTimeStampToken() 109 .getEncoded()));
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl2Test.java | 215 public byte[] getEncoded() { 236 public byte[] getEncoded() {
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERApplicationSpecific.java | 77 bOut.write(((ASN1Encodable)vec.get(i)).getEncoded()); 141 byte[] orig = this.getEncoded();
|