Home
last modified time | relevance | path

Searched refs:asn1 (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/external/chromium_org/net/tools/testserver/
Dminica.py5 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java7 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;
18 import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers;
19 import org.bouncycastle.asn1.pkcs.DHParameter;
[all …]
DPrivateKeyFactory.java7 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;
16 import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers;
17 import org.bouncycastle.asn1.pkcs.DHParameter;
18 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
19 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java1 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 …]
DEncryptedData.java1 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 …]
DContentInfo.java1 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 …]
DSafeBag.java1 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 …]
DCertificationRequestInfo.java1 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 …]
DRSAESOAEPparams.java1 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 …]
DMacData.java1 package org.bouncycastle.asn1.pkcs;
5 import org.bouncycastle.asn1.ASN1EncodableVector;
6 import org.bouncycastle.asn1.ASN1Integer;
7 import org.bouncycastle.asn1.ASN1Object;
8 import org.bouncycastle.asn1.ASN1OctetString;
9 import org.bouncycastle.asn1.ASN1Primitive;
10 import org.bouncycastle.asn1.ASN1Sequence;
11 import org.bouncycastle.asn1.DEROctetString;
12 import org.bouncycastle.asn1.DERSequence;
13 import org.bouncycastle.asn1.x509.DigestInfo;
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dpem.h209 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument
210 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument
211 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument
212 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument
213 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument
217 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ argument
220 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
223 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ argument
226 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
229 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ argument
[all …]
/external/openssl/crypto/pem/
Dpem.h214 #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/
Dpem.h214 #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/
DDirectoryString.java1 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/util/
DASN1Dump.java1 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/sec/
DECPrivateKey.java1 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 …]
DECPrivateKeyStructure.java1 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/
Dbouncycastle.config4 org/bouncycastle/asn1/cmp \
5 org/bouncycastle/asn1/cms/ecc \
6 org/bouncycastle/asn1/crmf \
7 org/bouncycastle/asn1/cryptopro \
8 org/bouncycastle/asn1/dvcs \
9 org/bouncycastle/asn1/esf \
10 org/bouncycastle/asn1/ess \
11 org/bouncycastle/asn1/gnu \
12 org/bouncycastle/asn1/icao \
13 org/bouncycastle/asn1/microsoft \
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DBooleanTest.java22 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/asn1/cms/
DAttribute.java1 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;
DIssuerAndSerialNumber.java1 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 …]
DContentInfo.java1 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.ASN1TaggedObject;
10 import org.bouncycastle.asn1.BERSequence;
11 import org.bouncycastle.asn1.BERTaggedObject;
/external/openssl/
DCrypto-config-host.mk30 crypto/asn1/a_bitstr.c \
31 crypto/asn1/a_bool.c \
32 crypto/asn1/a_bytes.c \
33 crypto/asn1/a_d2i_fp.c \
34 crypto/asn1/a_digest.c \
35 crypto/asn1/a_dup.c \
36 crypto/asn1/a_enum.c \
37 crypto/asn1/a_gentm.c \
38 crypto/asn1/a_i2d_fp.c \
39 crypto/asn1/a_int.c \
[all …]
DCrypto-config-target.mk30 crypto/asn1/a_bitstr.c \
31 crypto/asn1/a_bool.c \
32 crypto/asn1/a_bytes.c \
33 crypto/asn1/a_d2i_fp.c \
34 crypto/asn1/a_digest.c \
35 crypto/asn1/a_dup.c \
36 crypto/asn1/a_enum.c \
37 crypto/asn1/a_gentm.c \
38 crypto/asn1/a_i2d_fp.c \
39 crypto/asn1/a_int.c \
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509SignatureUtil.java12 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 …]

12345678910>>...19