/external/chromium_org/net/tools/testserver/ |
D | minica.py | 5 import asn1 68 return '\x00' * (self.modlen - len(out)) + asn1.ToBytes(out) 71 return asn1.ToDER(asn1.SEQUENCE([self.m, self.e])) 75 names = asn1.SEQUENCE([]) 79 asn1.SET([ 80 asn1.SEQUENCE([ 88 asn1.SET([ 89 asn1.SEQUENCE([ 97 asn1.SET([ 98 asn1.SEQUENCE([ [all …]
|
/external/chromium/net/base/ |
D | asn1_util.cc | 9 namespace asn1 { namespace 92 if (!asn1::GetElement(&cert, asn1::kSEQUENCE, &certificate)) in ExtractSPKIFromDERCert() 96 if (!asn1::GetElement(&certificate, asn1::kSEQUENCE, &tbs_certificate)) in ExtractSPKIFromDERCert() 100 asn1::GetElement(&tbs_certificate, in ExtractSPKIFromDERCert() 101 asn1::kCompound | asn1::kContextSpecific | 0, in ExtractSPKIFromDERCert() 105 if (!asn1::GetElement(&tbs_certificate, asn1::kINTEGER, NULL)) in ExtractSPKIFromDERCert() 108 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 111 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 114 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 117 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 7 import org.bouncycastle.asn1.ASN1Encodable; 8 import org.bouncycastle.asn1.ASN1InputStream; 9 import org.bouncycastle.asn1.ASN1Integer; 10 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 11 import org.bouncycastle.asn1.ASN1OctetString; 12 import org.bouncycastle.asn1.ASN1Primitive; 13 import org.bouncycastle.asn1.ASN1Sequence; 14 import org.bouncycastle.asn1.DEROctetString; 15 import org.bouncycastle.asn1.nist.NISTNamedCurves; 19 import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; [all …]
|
D | PrivateKeyFactory.java | 7 import org.bouncycastle.asn1.ASN1Encodable; 8 import org.bouncycastle.asn1.ASN1InputStream; 9 import org.bouncycastle.asn1.ASN1Integer; 10 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 11 import org.bouncycastle.asn1.ASN1Primitive; 12 import org.bouncycastle.asn1.ASN1Sequence; 13 import org.bouncycastle.asn1.nist.NISTNamedCurves; 17 import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; 18 import org.bouncycastle.asn1.pkcs.DHParameter; 19 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; [all …]
|
/external/bouncycastle/ |
D | bouncycastle.config | 3 org/bouncycastle/asn1/cmp \ 4 org/bouncycastle/asn1/cms/ecc \ 5 org/bouncycastle/asn1/crmf \ 6 org/bouncycastle/asn1/cryptopro \ 7 org/bouncycastle/asn1/dvcs \ 8 org/bouncycastle/asn1/esf \ 9 org/bouncycastle/asn1/ess \ 10 org/bouncycastle/asn1/gnu \ 11 org/bouncycastle/asn1/icao \ 12 org/bouncycastle/asn1/microsoft \ [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 1 package org.bouncycastle.asn1.pkcs; 7 import org.bouncycastle.asn1.ASN1Encodable; 8 import org.bouncycastle.asn1.ASN1EncodableVector; 9 import org.bouncycastle.asn1.ASN1Encoding; 10 import org.bouncycastle.asn1.ASN1Integer; 11 import org.bouncycastle.asn1.ASN1Object; 12 import org.bouncycastle.asn1.ASN1OctetString; 13 import org.bouncycastle.asn1.ASN1Primitive; 14 import org.bouncycastle.asn1.ASN1Sequence; 15 import org.bouncycastle.asn1.ASN1Set; [all …]
|
D | EncryptedData.java | 1 package org.bouncycastle.asn1.pkcs; 3 import org.bouncycastle.asn1.ASN1Encodable; 4 import org.bouncycastle.asn1.ASN1EncodableVector; 5 import org.bouncycastle.asn1.ASN1Integer; 6 import org.bouncycastle.asn1.ASN1Object; 7 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 8 import org.bouncycastle.asn1.ASN1OctetString; 9 import org.bouncycastle.asn1.ASN1Primitive; 10 import org.bouncycastle.asn1.ASN1Sequence; 11 import org.bouncycastle.asn1.ASN1TaggedObject; [all …]
|
D | ContentInfo.java | 1 package org.bouncycastle.asn1.pkcs; 5 import org.bouncycastle.asn1.ASN1Encodable; 6 import org.bouncycastle.asn1.ASN1EncodableVector; 7 import org.bouncycastle.asn1.ASN1Object; 8 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 9 import org.bouncycastle.asn1.ASN1Primitive; 10 import org.bouncycastle.asn1.ASN1Sequence; 11 import org.bouncycastle.asn1.ASN1TaggedObject; 12 import org.bouncycastle.asn1.BERSequence; 13 import org.bouncycastle.asn1.BERTaggedObject; [all …]
|
D | SafeBag.java | 1 package org.bouncycastle.asn1.pkcs; 3 import org.bouncycastle.asn1.ASN1Encodable; 4 import org.bouncycastle.asn1.ASN1EncodableVector; 5 import org.bouncycastle.asn1.ASN1Object; 6 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 7 import org.bouncycastle.asn1.ASN1Primitive; 8 import org.bouncycastle.asn1.ASN1Sequence; 9 import org.bouncycastle.asn1.ASN1Set; 10 import org.bouncycastle.asn1.ASN1TaggedObject; 11 import org.bouncycastle.asn1.DLSequence; [all …]
|
D | RSAESOAEPparams.java | 1 package org.bouncycastle.asn1.pkcs; 3 import org.bouncycastle.asn1.ASN1EncodableVector; 4 import org.bouncycastle.asn1.ASN1Object; 5 import org.bouncycastle.asn1.ASN1Primitive; 6 import org.bouncycastle.asn1.ASN1Sequence; 7 import org.bouncycastle.asn1.ASN1TaggedObject; 8 import org.bouncycastle.asn1.DERNull; 9 import org.bouncycastle.asn1.DEROctetString; 10 import org.bouncycastle.asn1.DERSequence; 11 import org.bouncycastle.asn1.DERTaggedObject; [all …]
|
D | CertificationRequestInfo.java | 1 package org.bouncycastle.asn1.pkcs; 3 import org.bouncycastle.asn1.ASN1EncodableVector; 4 import org.bouncycastle.asn1.ASN1Integer; 5 import org.bouncycastle.asn1.ASN1Object; 6 import org.bouncycastle.asn1.ASN1Primitive; 7 import org.bouncycastle.asn1.ASN1Sequence; 8 import org.bouncycastle.asn1.ASN1Set; 9 import org.bouncycastle.asn1.DERSequence; 10 import org.bouncycastle.asn1.DERTaggedObject; 11 import org.bouncycastle.asn1.x500.X500Name; [all …]
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ argument 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ argument 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ argument [all …]
|
/external/openssl/include/openssl/ |
D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ argument 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ argument 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ argument [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ argument 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ argument 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ argument [all …]
|
/external/openssl/crypto/pem/ |
D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ argument 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ argument 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/ |
D | DirectoryString.java | 1 package org.bouncycastle.asn1.x500; 3 import org.bouncycastle.asn1.ASN1Choice; 4 import org.bouncycastle.asn1.ASN1Encodable; 5 import org.bouncycastle.asn1.ASN1Object; 6 import org.bouncycastle.asn1.ASN1Primitive; 7 import org.bouncycastle.asn1.ASN1String; 8 import org.bouncycastle.asn1.ASN1TaggedObject; 9 import org.bouncycastle.asn1.DERBMPString; 10 import org.bouncycastle.asn1.DERPrintableString; 11 import org.bouncycastle.asn1.DERT61String; [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | ECPrivateKeyStructure.java | 1 package org.bouncycastle.asn1.sec; 6 import org.bouncycastle.asn1.ASN1Encodable; 7 import org.bouncycastle.asn1.ASN1EncodableVector; 8 import org.bouncycastle.asn1.ASN1Integer; 9 import org.bouncycastle.asn1.ASN1Object; 10 import org.bouncycastle.asn1.ASN1OctetString; 11 import org.bouncycastle.asn1.ASN1Primitive; 12 import org.bouncycastle.asn1.ASN1Sequence; 13 import org.bouncycastle.asn1.ASN1TaggedObject; 14 import org.bouncycastle.asn1.DERBitString; [all …]
|
D | ECPrivateKey.java | 1 package org.bouncycastle.asn1.sec; 6 import org.bouncycastle.asn1.ASN1Encodable; 7 import org.bouncycastle.asn1.ASN1EncodableVector; 8 import org.bouncycastle.asn1.ASN1Integer; 9 import org.bouncycastle.asn1.ASN1Object; 10 import org.bouncycastle.asn1.ASN1OctetString; 11 import org.bouncycastle.asn1.ASN1Primitive; 12 import org.bouncycastle.asn1.ASN1Sequence; 13 import org.bouncycastle.asn1.ASN1TaggedObject; 14 import org.bouncycastle.asn1.DERBitString; [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/ |
D | ASN1Dump.java | 1 package org.bouncycastle.asn1.util; 6 import org.bouncycastle.asn1.ASN1Encodable; 7 import org.bouncycastle.asn1.ASN1Integer; 8 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 9 import org.bouncycastle.asn1.ASN1OctetString; 10 import org.bouncycastle.asn1.ASN1Primitive; 11 import org.bouncycastle.asn1.ASN1Sequence; 12 import org.bouncycastle.asn1.ASN1Set; 13 import org.bouncycastle.asn1.ASN1TaggedObject; 14 import org.bouncycastle.asn1.BERApplicationSpecific; [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | Attribute.java | 1 package org.bouncycastle.asn1.cms; 3 import org.bouncycastle.asn1.ASN1Encodable; 4 import org.bouncycastle.asn1.ASN1EncodableVector; 5 import org.bouncycastle.asn1.ASN1Object; 6 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 7 import org.bouncycastle.asn1.ASN1Primitive; 8 import org.bouncycastle.asn1.ASN1Sequence; 9 import org.bouncycastle.asn1.ASN1Set; 10 import org.bouncycastle.asn1.DERObjectIdentifier; 11 import org.bouncycastle.asn1.DERSequence;
|
D | IssuerAndSerialNumber.java | 1 package org.bouncycastle.asn1.cms; 5 import org.bouncycastle.asn1.ASN1EncodableVector; 6 import org.bouncycastle.asn1.ASN1Integer; 7 import org.bouncycastle.asn1.ASN1Object; 8 import org.bouncycastle.asn1.ASN1Primitive; 9 import org.bouncycastle.asn1.ASN1Sequence; 10 import org.bouncycastle.asn1.DERSequence; 11 import org.bouncycastle.asn1.x500.X500Name; 12 import org.bouncycastle.asn1.x509.Certificate; 13 import org.bouncycastle.asn1.x509.X509CertificateStructure; [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | BooleanTest.java | 22 package org.apache.harmony.security.tests.asn1.der; 29 import org.apache.harmony.security.asn1.ASN1Boolean; 30 import org.apache.harmony.security.asn1.ASN1Exception; 31 import org.apache.harmony.security.asn1.DerInputStream; 32 import org.apache.harmony.security.asn1.DerOutputStream; 49 ASN1Boolean asn1 = ASN1Boolean.getInstance(); in test_Decode_Encode() local 53 assertEquals("Decoding false value", Boolean.FALSE, asn1.decode(in)); in test_Decode_Encode() 57 assertEquals("Decoding true value", Boolean.TRUE, asn1.decode(in)); in test_Decode_Encode() 60 DerOutputStream out = new DerOutputStream(asn1, Boolean.FALSE); in test_Decode_Encode() 64 out = new DerOutputStream(asn1, Boolean.TRUE); in test_Decode_Encode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | X509SignatureUtil.java | 12 import org.bouncycastle.asn1.ASN1Encodable; 13 import org.bouncycastle.asn1.ASN1Null; 14 import org.bouncycastle.asn1.ASN1Sequence; 15 import org.bouncycastle.asn1.DERNull; 16 import org.bouncycastle.asn1.DERObjectIdentifier; 20 import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; 21 import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; 22 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; 23 import org.bouncycastle.asn1.pkcs.RSASSAPSSparams; 24 import org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers; [all …]
|
/external/openssl/ |
D | Crypto-config.mk | 41 crypto/asn1/a_bitstr.c \ 42 crypto/asn1/a_bool.c \ 43 crypto/asn1/a_bytes.c \ 44 crypto/asn1/a_d2i_fp.c \ 45 crypto/asn1/a_digest.c \ 46 crypto/asn1/a_dup.c \ 47 crypto/asn1/a_enum.c \ 48 crypto/asn1/a_gentm.c \ 49 crypto/asn1/a_i2d_fp.c \ 50 crypto/asn1/a_int.c \ [all …]
|
/external/chromium_org/third_party/openssl/openssl/ |
D | Crypto-config.mk | 41 crypto/asn1/a_bitstr.c \ 42 crypto/asn1/a_bool.c \ 43 crypto/asn1/a_bytes.c \ 44 crypto/asn1/a_d2i_fp.c \ 45 crypto/asn1/a_digest.c \ 46 crypto/asn1/a_dup.c \ 47 crypto/asn1/a_enum.c \ 48 crypto/asn1/a_gentm.c \ 49 crypto/asn1/a_i2d_fp.c \ 50 crypto/asn1/a_int.c \ [all …]
|