/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | PrincipalUtils.java | 18 return X500Name.getInstance(cert.getSubjectX500Principal().getEncoded()); in getSubjectPrincipal() 23 return X500Name.getInstance(crl.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 28 return X500Name.getInstance(cert.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 33 return X500Name.getInstance(trustAnchor.getCA().getEncoded()); in getCA() 51 …nce(((X500Principal)((X509AttributeCertificate)cert).getIssuer().getPrincipals()[0]).getEncoded()); in getEncodedIssuerPrincipal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PrincipalUtils.java | 17 return X500Name.getInstance(cert.getSubjectX500Principal().getEncoded()); in getSubjectPrincipal() 22 return X500Name.getInstance(crl.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 27 return X500Name.getInstance(cert.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 32 return X500Name.getInstance(trustAnchor.getCA().getEncoded()); in getCA() 50 …nce(((X500Principal)((X509AttributeCertificate)cert).getIssuer().getPrincipals()[0]).getEncoded()); in getEncodedIssuerPrincipal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERExternal.java | 59 return this.getEncoded().length; in encodedLength() 71 baos.write(directReference.getEncoded(ASN1Encoding.DER)); in encode() 75 baos.write(indirectReference.getEncoded(ASN1Encoding.DER)); in encode() 79 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DER)); in encode() 82 baos.write(obj.getEncoded(ASN1Encoding.DER)); in encode()
|
D | DLExternal.java | 59 return this.getEncoded().length; in encodedLength() 71 baos.write(directReference.getEncoded(ASN1Encoding.DL)); in encode() 75 baos.write(indirectReference.getEncoded(ASN1Encoding.DL)); in encode() 79 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DL)); in encode() 82 baos.write(obj.getEncoded(ASN1Encoding.DL)); in encode()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | DLExternal.java | 61 return this.getEncoded().length; in encodedLength() 73 baos.write(directReference.getEncoded(ASN1Encoding.DL)); in encode() 77 baos.write(indirectReference.getEncoded(ASN1Encoding.DL)); in encode() 81 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DL)); in encode() 84 baos.write(obj.getEncoded(ASN1Encoding.DL)); in encode()
|
D | DERExternal.java | 61 return this.getEncoded().length; in encodedLength() 73 baos.write(directReference.getEncoded(ASN1Encoding.DER)); in encode() 77 baos.write(indirectReference.getEncoded(ASN1Encoding.DER)); in encode() 81 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DER)); in encode() 84 baos.write(obj.getEncoded(ASN1Encoding.DER)); in encode()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | DESEDESecretKeyFactory.java | 44 if (!DESedeKeySpec.isParityAdjusted(key.getEncoded(), 0)) { in engineGenerateSecret() 69 if (!DESedeKeySpec.isParityAdjusted(secretKey.getEncoded(), 0)) { in engineGetKeySpec() 78 return new SecretKeySpec(secretKey.getEncoded(), "DESEDE"); in engineGetKeySpec() 82 return new DESedeKeySpec(secretKey.getEncoded()); in engineGetKeySpec() 96 return new SecretKeySpec(secretKey.getEncoded(), secretKey.getAlgorithm()); in engineTranslateKey()
|
D | OpenSSLKey.java | 72 final byte[] encoded = key.getEncoded(); in fromPrivateKey() 78 return new OpenSSLKey(NativeCrypto.EVP_parse_private_key(key.getEncoded())); in fromPrivateKey() 181 byte[] encoded = key.getEncoded(); in fromKeyMaterial() 228 final byte[] encoded = key.getEncoded(); in fromPublicKey() 234 return new OpenSSLKey(NativeCrypto.EVP_parse_public_key(key.getEncoded())); in fromPublicKey() 279 key = new OpenSSLKey(NativeCrypto.EVP_parse_public_key(x509KeySpec.getEncoded())); in getPublicKey() 312 key = new OpenSSLKey(NativeCrypto.EVP_parse_private_key(pkcs8KeySpec.getEncoded())); in getPrivateKey()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | DESEDESecretKeyFactory.java | 48 if (!DESedeKeySpec.isParityAdjusted(key.getEncoded(), 0)) { in engineGenerateSecret() 73 if (!DESedeKeySpec.isParityAdjusted(secretKey.getEncoded(), 0)) { in engineGetKeySpec() 82 return new SecretKeySpec(secretKey.getEncoded(), "DESEDE"); in engineGetKeySpec() 86 return new DESedeKeySpec(secretKey.getEncoded()); in engineGetKeySpec() 100 return new SecretKeySpec(secretKey.getEncoded(), secretKey.getAlgorithm()); in engineTranslateKey()
|
D | OpenSSLKey.java | 76 final byte[] encoded = key.getEncoded(); in fromPrivateKey() 82 return new OpenSSLKey(NativeCrypto.EVP_parse_private_key(key.getEncoded())); in fromPrivateKey() 185 byte[] encoded = key.getEncoded(); in fromKeyMaterial() 232 final byte[] encoded = key.getEncoded(); in fromPublicKey() 238 return new OpenSSLKey(NativeCrypto.EVP_parse_public_key(key.getEncoded())); in fromPublicKey() 284 key = new OpenSSLKey(NativeCrypto.EVP_parse_public_key(x509KeySpec.getEncoded())); in getPublicKey() 317 key = new OpenSSLKey(NativeCrypto.EVP_parse_private_key(pkcs8KeySpec.getEncoded())); in getPrivateKey()
|
D | OpenSSLECKeyFactory.java | 100 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 115 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 126 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 136 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 183 byte[] encoded = key.getEncoded(); in engineTranslateKey() 193 byte[] encoded = key.getEncoded(); in engineTranslateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | AlgorithmParametersUtils.java | 35 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 39 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters() 58 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters() 62 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
|
D | JcaJceUtils.java | 42 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 46 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters() 66 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters() 70 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
D | AlgorithmParametersUtils.java | 37 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 41 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters() 60 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters() 64 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
|
D | JcaJceUtils.java | 44 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 48 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters() 68 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters() 72 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseKeyFactorySpi.java | 27 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 48 …eturn generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePublic() 68 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 72 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 35 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 57 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 67 p[0] = key.getEncoded(); in engineGetKeySpec() 91 return new SecretKeySpec(key.getEncoded(), algName); in engineTranslateKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseKeyFactorySpi.java | 31 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 52 …eturn generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePublic() 72 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 76 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 39 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 61 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 71 p[0] = key.getEncoded(); in engineGetKeySpec() 95 return new SecretKeySpec(key.getEncoded(), algName); in engineTranslateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509V2AttributeCertificate.java | 189 signature.update(cert.getAcinfo().getEncoded()); in verify() 202 public byte[] getEncoded() in getEncoded() method in X509V2AttributeCertificate 205 return cert.getEncoded(); in getEncoded() 220 return ext.getExtnValue().getEncoded(ASN1Encoding.DER); in getExtensionValue() 328 byte[] b1 = this.getEncoded(); in equals() 329 byte[] b2 = other.getEncoded(); in equals() 343 return Arrays.hashCode(this.getEncoded()); in hashCode()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/ |
D | RevocationUtilities.java | 160 certSelectX509.setSubject(certIssuer.getEncoded()); in findTrustAnchor() 187 X500Name caName = X500Name.getInstance(trust.getCA().getEncoded()); in findTrustAnchor() 340 ASN1InputStream aIn = new ASN1InputStream(key.getEncoded()); in getAlgorithmIdentifier() 491 .toASN1Primitive().getEncoded())); in getCRLIssuersFromDistributionPoint() 568 selector.addIssuerName(((X500Name)it.next()).getEncoded()); in getCRLIssuersFromDistributionPoint() 621 certIssuer = X500Name.getInstance(certificateIssuer.getEncoded()); in getCertStatus() 624 …if (!X500Name.getInstance(((X509Certificate)cert).getIssuerX500Principal().getEncoded()).equals(ce… in getCertStatus() 629 …cate)cert).getIssuerX500Principal().getEncoded()).equals(X500Name.getInstance(crl.getIssuerX500Pri… in getCertStatus() 702 …ddIssuerName(X500Name.getInstance(completeCRL.getIssuerX500Principal().getEncoded()).getEncoded()); in getDeltaCRLs() 805 … issuers.add(X500Name.getInstance(((X509Certificate)cert).getIssuerX500Principal().getEncoded())); in getCompleteCRLs() [all …]
|
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D | D2DConnectionContextV1.java | 67 byte[] encodeKeyBytes = encodeKey.getEncoded(); in getSessionUnique() 68 byte[] decodeKeyBytes = decodeKey.getEncoded(); in getSessionUnique() 134 bytes.write(encodeKey.getEncoded()); 137 bytes.write(decodeKey.getEncoded());
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
D | X509V2AttributeCertificate.java | 191 signature.update(cert.getAcinfo().getEncoded()); in verify() 204 public byte[] getEncoded() in getEncoded() method in X509V2AttributeCertificate 207 return cert.getEncoded(); in getEncoded() 222 return ext.getExtnValue().getEncoded(ASN1Encoding.DER); in getExtensionValue() 330 byte[] b1 = this.getEncoded(); in equals() 331 byte[] b2 = other.getEncoded(); in equals() 345 return Arrays.hashCode(this.getEncoded()); in hashCode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 29 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate() 56 …tPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePublic() 80 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 84 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 33 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate() 60 …tPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePublic() 84 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 88 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|