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

1 2 3 4

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1Encoding.java 9 * DER - distinguished encoding rules.
11 static final String DER = "DER";
DEROctetString.java 6 * Carrier class for a DER encoding OCTET STRING
31 super(obj.toASN1Primitive().getEncoded(ASN1Encoding.DER));
DERApplicationSpecific.java 7 * A DER encoding version of an application specific object.
67 byte[] data = object.toASN1Primitive().getEncoded(ASN1Encoding.DER);
101 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER));
DERExternal.java 7 * Class representing the DER-type External
138 baos.write(directReference.getEncoded(ASN1Encoding.DER));
142 baos.write(indirectReference.getEncoded(ASN1Encoding.DER));
146 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DER));
149 baos.write(obj.getEncoded(ASN1Encoding.DER));
ASN1Object.java 15 * Return the default BER or DER encoding for this object.
17 * @return BER/DER byte encoded object.
32 * Return either the default for "BER" or a DER encoding if "DER" is specified.
42 if (encoding.equals(ASN1Encoding.DER))
DERBitString.java 6 * A BIT STRING with DER encoding.
102 super(obj.toASN1Primitive().getEncoded(ASN1Encoding.DER), 0);
DLBitString.java 14 * @param obj a DL or DER BitString or an object that can be converted into one.
102 super(obj.toASN1Primitive().getEncoded(ASN1Encoding.DER), 0);
  /cts/apps/CtsVerifier/
create_test_certs.sh 5 # - cacert.der
6 # - userkey.der
7 # - usercert.der
41 -outform DER \
43 -out 'cacert.der')
57 -outform DER \
59 -out 'userkey.der' \
73 -outform DER \
75 -out 'usercert.der')
79 "$tmpdir"/cacert.der \
    [all...]
  /development/tools/
make_key 68 openssl pkcs8 -in ${one} -topk8 -outform DER -out $1.pk8 -nocrypt
72 openssl pkcs8 -in ${one} -topk8 -outform DER -out $1.pk8 \
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
PKCS7ProcessableObject.java 42 cOut.write(enc.toASN1Primitive().getEncoded(ASN1Encoding.DER));
47 byte[] encoded = structure.toASN1Primitive().getEncoded(ASN1Encoding.DER);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
KeyUtil.java 39 return info.getEncoded(ASN1Encoding.DER);
65 return info.getEncoded(ASN1Encoding.DER);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
ExtensionsGenerator.java 43 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
X509ExtensionsGenerator.java 45 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
X509Principal.java 152 * return a DER encoded byte array representing this object
158 return this.getEncoded(ASN1Encoding.DER);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
key.py 44 r'''Loads a key in PKCS#1 DER or PEM format.
46 :param keyfile: contents of a DER- or PEM-encoded file that contains
48 :param format: the format of the file to load; 'PEM' or 'DER'
56 'DER': cls._load_pkcs1_der,
68 '''Saves the public key in PKCS#1 DER or PEM format.
70 :param format: the format to save; 'PEM' or 'DER'
71 :returns: the DER- or PEM-encoded public key.
77 'DER': self._save_pkcs1_der,
138 r'''Loads a key in PKCS#1 DER format.
140 @param keyfile: contents of a DER-encoded file that contains the publi
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
BasicOCSPResp.java 49 * Return the DER encoding of the tbsResponseData field.
50 * @return DER encoding of tbsResponseData
56 return resp.getTbsResponseData().getEncoded(ASN1Encoding.DER);
184 vOut.write(resp.getTbsResponseData().getEncoded(ASN1Encoding.DER));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCEDHPrivateKey.java 128 return info.getEncoded(ASN1Encoding.DER);
133 return info.getEncoded(ASN1Encoding.DER);
JDKDSAPublicKey.java 106 return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa), new ASN1Integer(y)).getEncoded(ASN1Encoding.DER);
109 return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Integer(y)).getEncoded(ASN1Encoding.DER);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
AlgorithmParametersSpi.java 53 return dhP.getEncoded(ASN1Encoding.DER);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
AlgorithmParametersSpi.java 49 return dsaP.getEncoded(ASN1Encoding.DER);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
PBEPKCS12.java 32 return params.getEncoded(ASN1Encoding.DER);
  /external/wpa_supplicant_8/hs20/server/ca/
setup.sh 108 $OPENSSL x509 -in rootCA/cacert.pem -out rootCA/cacert.der -outform DER || fail "Failed to create rootCA DER"
109 sha256sum rootCA/cacert.der > rootCA/cacert.fingerprint || fail "Failed to create rootCA fingerprint"
131 $OPENSSL x509 -in demoCA/cacert.pem -out demoCA/cacert.der -outform DER || fail "Failed to create demoCA DER."
132 sha256sum demoCA/cacert.der > demoCA/cacert.fingerprint || fail "Failed to create demoCA fingerprint"
191 $OPENSSL x509 -in server.pem -out server.der -outform DER
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PrivateKeyInfo.java 65 this.privKey = new DEROctetString(privateKey.toASN1Primitive().getEncoded(ASN1Encoding.DER));
  /prebuilts/go/darwin-x86/src/crypto/x509/
pkcs1.go 38 // ParsePKCS1PrivateKey returns an RSA private key from its ASN.1 PKCS#1 DER encoded form.
39 func ParsePKCS1PrivateKey(der []byte) (key *rsa.PrivateKey, err error) {
41 rest, err := asn1.Unmarshal(der, &priv)
86 // MarshalPKCS1PrivateKey converts a private key to ASN.1 DER encoded form.
  /prebuilts/go/linux-x86/src/crypto/x509/
pkcs1.go 38 // ParsePKCS1PrivateKey returns an RSA private key from its ASN.1 PKCS#1 DER encoded form.
39 func ParsePKCS1PrivateKey(der []byte) (key *rsa.PrivateKey, err error) {
41 rest, err := asn1.Unmarshal(der, &priv)
86 // MarshalPKCS1PrivateKey converts a private key to ASN.1 DER encoded form.

Completed in 1321 milliseconds

1 2 3 4