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

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/security/spec/
PKCS8EncodedKeySpec.java 83 public byte[] getEncoded() {
84 return super.getEncoded();
X509EncodedKeySpec.java 73 public byte[] getEncoded() {
74 return super.getEncoded();
EncodedKeySpec.java 65 public byte[] getEncoded() {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Encodable.java 16 byte[] getEncoded()
  /libcore/ojluni/src/main/java/java/security/
Key.java 51 * is returned using the {@link #getEncoded() getEncoded} method.
151 public byte[] getEncoded();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
AlgorithmParametersUtils.java 35 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1"));
39 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded());
58 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1");
62 params.init(sParams.toASN1Primitive().getEncoded());
JcaJceUtils.java 42 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1"));
46 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded());
66 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1");
70 params.init(sParams.toASN1Primitive().getEncoded());
  /frameworks/base/core/java/android/util/apk/
VerbatimX509Certificate.java 37 public byte[] getEncoded() throws CertificateEncodingException {
47 byte[] a = this.getEncoded();
48 byte[] b = ((VerbatimX509Certificate) o).getEncoded();
59 mHash = Arrays.hashCode(this.getEncoded());
  /libcore/luni/src/test/java/libcore/java/security/
MockPrivateKey.java 37 public byte[] getEncoded() {
MockPrivateKey2.java 37 public byte[] getEncoded() {
MockPublicKey.java 37 public byte[] getEncoded() {
  /libcore/luni/src/test/java/libcore/javax/crypto/
MockKey.java 37 public byte[] getEncoded() {
MockKey2.java 37 public byte[] getEncoded() {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyFailingCertPath.java 12 public byte[] getEncoded() throws CertificateEncodingException {
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
GuaranteedEncodedFormX509Certificate.java 24 * {@link X509Certificate} whose {@link #getEncoded()} returns the data provided at construction
39 public byte[] getEncoded() throws CertificateEncodingException {
49 byte[] a = this.getEncoded();
50 byte[] b = ((GuaranteedEncodedFormX509Certificate) o).getEncoded();
61 mHash = Arrays.hashCode(this.getEncoded());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
CertificateTest.java 45 public byte[] getEncoded() throws CertificateEncodingException {
86 public byte[] getEncoded() {
92 public byte[] getEncoded() {
98 public byte[] getEncoded() {
104 public byte[] getEncoded() {
142 public byte[] getEncoded() {
147 public byte[] getEncoded() {
  /libcore/luni/src/test/java/tests/security/cert/
X509CRLEntryTest.java 65 public byte[] getEncoded() throws CRLException {
88 public byte[] getEncoded() throws CRLException {
103 assertNull(tbt_crlentry.getEncoded());
119 public byte[] getEncoded() {
125 public byte[] getEncoded() {
131 public byte[] getEncoded() {
169 public byte[] getEncoded() {
188 public byte[] getEncoded() {
194 tbt.getEncoded();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PrincipalUtils.java 17 return X500Name.getInstance(cert.getSubjectX500Principal().getEncoded());
22 return X500Name.getInstance(crl.getIssuerX500Principal().getEncoded());
27 return X500Name.getInstance(cert.getIssuerX500Principal().getEncoded());
32 return X500Name.getInstance(trustAnchor.getCA().getEncoded());
50 return X500Name.getInstance(((X500Principal)((X509AttributeCertificate)cert).getIssuer().getPrincipals()[0]).getEncoded());
  /external/conscrypt/common/src/main/java/org/conscrypt/
DESEDESecretKeyFactory.java 43 if (!DESedeKeySpec.isParityAdjusted(key.getEncoded(), 0)) {
68 if (!DESedeKeySpec.isParityAdjusted(secretKey.getEncoded(), 0)) {
77 return new SecretKeySpec(secretKey.getEncoded(), "DESEDE");
81 return new DESedeKeySpec(secretKey.getEncoded());
95 return new SecretKeySpec(secretKey.getEncoded(), secretKey.getAlgorithm());
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpecTest.java 46 eks.getEncoded()));
59 * Tests that <code>getEncoded()</code> method returns valid byte array
67 byte[] ek = meks.getEncoded();
95 byte[] ek = meks.getEncoded();
103 * returned value of <code>getEncoded()</code> method
111 byte[] ek = meks.getEncoded();
115 byte[] ek1 = meks.getEncoded();
  /cts/tests/tests/keystore/src/android/keystore/cts/
TransparentSecretKey.java 42 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 27 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
48 return generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()));
68 return new PKCS8EncodedKeySpec(key.getEncoded());
72 return new X509EncodedKeySpec(key.getEncoded());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java 35 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName);
57 return new SecretKeySpec(key.getEncoded(), algName);
67 p[0] = key.getEncoded();
91 return new SecretKeySpec(key.getEncoded(), algName);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyTest.java 53 public byte[] getEncoded() {

Completed in 595 milliseconds

1 2 3 4 5 6 7 8 91011>>