/libcore/ojluni/src/main/java/sun/security/x509/ |
KeyIdentifier.java | 85 DerValue algAndKey = new DerValue(pubKey.getEncoded());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
RSAMultiPrimePrivateCrtKeyImpl.java | 83 public byte[] getEncoded() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/utils/ |
FingerprintUtils.java | 39 return toHexadecimalString(digest.digest(cert.getEncoded()));
|
/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...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 392 duplicatedPath.getEncoded(); 444 encodedCopy = pathFromList.getEncoded(); 448 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), 451 encodedCopy = pathFromList.getEncoded(encoding); 455 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), 465 encoded = pathFromList.getEncoded(); 469 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded()), 472 encoded = pathFromList.getEncoded(encoding); 476 assertEquals(providerName, Arrays.toString(pathFromList.getEncoded(encoding)), 597 SubjectPublicKeyInfo spki = SubjectPublicKeyInfo.getInstance(pubKey.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...] |
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiEnterpriseConfigTest.java | 391 assertArrayEquals(clientKey.getEncoded(), actualClientKey.getEncoded()); 395 assertArrayEquals(clientCert.getEncoded(), actualClientCert.getEncoded()); 402 assertArrayEquals(caCerts[i].getEncoded(), actualCaCerts[i].getEncoded());
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
Ipv4Packet.java | 80 if (!Arrays.equals(original, getEncoded())) { 95 public byte[] getEncoded() throws IOException {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509CertificateHolder.java | 323 public byte[] getEncoded() 326 return x509Certificate.getEncoded();
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
OCSPReq.java | 236 sOut.write(req.getTbsRequest().getEncoded(ASN1Encoding.DER)); 249 public byte[] getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
SignatureSpi.java | 383 return new DERSequence(v).getEncoded(ASN1Encoding.DER); 395 if (!Arrays.areEqual(encoding, s.getEncoded(ASN1Encoding.DER)))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPublicKey.java | 107 public byte[] getEncoded() 171 out.writeObject(algorithmIdentifier.getEncoded());
|
KeyFactorySpi.java | 91 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); 101 RSAPrivateKey.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 76 return key.getEncoded().length; 114 byte[] encoded = key.getEncoded();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
X509CRLObject.java | 99 this.sigAlgParams = ((ASN1Encodable)c.getSignatureAlgorithm().getParameters()).toASN1Primitive().getEncoded(ASN1Encoding.DER); 184 return ext.getExtnValue().getEncoded(); 196 public byte[] getEncoded() 201 return c.getEncoded(ASN1Encoding.DER); 295 return new X500Principal(c.getIssuer().getEncoded()); 388 return c.getTBSCertList().getEncoded("DER"); 595 issuer = X500Name.getInstance(((X509Certificate)cert).getIssuerX500Principal().getEncoded()); 601 issuer = org.bouncycastle.asn1.x509.Certificate.getInstance(cert.getEncoded()).getIssuer();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JDKDSAPrivateKey.java | 77 * return the encoding format we produce in getEncoded(). 92 public byte[] getEncoded() 98 return info.getEncoded(ASN1Encoding.DER);
|
X509CRLObject.java | 96 this.sigAlgParams = ((ASN1Encodable)c.getSignatureAlgorithm().getParameters()).toASN1Primitive().getEncoded(ASN1Encoding.DER); 181 return ext.getExtnValue().getEncoded(); 193 public byte[] getEncoded() 198 return c.getEncoded(ASN1Encoding.DER); 292 return new X500Principal(c.getIssuer().getEncoded()); 385 return c.getTBSCertList().getEncoded("DER"); 592 issuer = X500Name.getInstance(((X509Certificate)cert).getIssuerX500Principal().getEncoded()); 598 issuer = org.bouncycastle.asn1.x509.Certificate.getInstance(cert.getEncoded()).getIssuer();
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLECPublicKey.java | 89 public byte[] getEncoded() { 166 stream.writeObject(getEncoded());
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
TrustedCertificateIndex.java | 160 byte[] caPublicKeyEncoded = caPublicKey.getEncoded(); 161 byte[] certPublicKeyEncoded = certPublicKey.getEncoded();
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaSignatureTest.java | [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
DelegatingX509Certificate.java | 154 public byte[] getEncoded() throws CertificateEncodingException { 155 return mDelegate.getEncoded();
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
AlgorithmParametersTestPBES2.java | 49 // System.out.println("Encoded: " + Arrays.toString(ap.getEncoded())); 174 Arrays.toString(ap.getEncoded())); 186 ap2.init(ap.getEncoded());
|
/libcore/ojluni/src/main/java/java/security/ |
Identity.java | 273 return java.util.Arrays.equals(aKey.getEncoded(), 274 anotherKey.getEncoded());
|
PKCS12Attribute.java | 180 public byte[] getEncoded() { 201 return Arrays.equals(encoded, ((PKCS12Attribute) obj).getEncoded());
|
/libcore/ojluni/src/main/java/javax/security/auth/x500/ |
X500Principal.java | 431 public byte[] getEncoded() { 433 return thisX500Name.getEncoded(); 495 * (the value of {@code getEncoded} is serialized).
|