HomeSort by relevance Sort by last modified time
    Searched defs:ASN1 (Results 1 - 25 of 65) sorted by null

1 2 3

  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
DirectoryString.java 25 import org.apache.harmony.security.asn1.ASN1Choice;
26 import org.apache.harmony.security.asn1.ASN1StringType;
27 import org.apache.harmony.security.asn1.ASN1Type;
50 public static final ASN1Choice ASN1 = new ASN1Choice(new ASN1Type[] {
58 return 1; // always code as ASN1 printableString
59 //return 4; // always code as ASN1 utf8String
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
PolicyQualifierInfo.java 25 import org.apache.harmony.security.asn1.ASN1Any;
26 import org.apache.harmony.security.asn1.ASN1Oid;
27 import org.apache.harmony.security.asn1.ASN1Sequence;
28 import org.apache.harmony.security.asn1.ASN1Type;
52 // Contains only ASN1 DER decoder currently
53 public static final ASN1Sequence ASN1 =
ORAddress.java 25 import org.apache.harmony.security.asn1.ASN1Sequence;
26 import org.apache.harmony.security.asn1.ASN1Type;
27 import org.apache.harmony.security.asn1.BerInputStream;
58 encoding = ASN1.encode(this);
66 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {
ReasonFlags.java 26 import org.apache.harmony.security.asn1.ASN1BitString;
27 import org.apache.harmony.security.asn1.BerInputStream;
28 import org.apache.harmony.security.asn1.BerOutputStream;
94 public static final ASN1BitString ASN1 =
Time.java 25 import org.apache.harmony.security.asn1.ASN1Choice;
26 import org.apache.harmony.security.asn1.ASN1GeneralizedTime;
27 import org.apache.harmony.security.asn1.ASN1Type;
28 import org.apache.harmony.security.asn1.ASN1UTCTime;
47 public static final ASN1Choice ASN1 = new ASN1Choice(new ASN1Type[] {
AccessDescription.java 20 import org.apache.harmony.security.asn1.ASN1Oid;
21 import org.apache.harmony.security.asn1.ASN1Sequence;
22 import org.apache.harmony.security.asn1.ASN1Type;
23 import org.apache.harmony.security.asn1.BerInputStream;
24 import org.apache.harmony.security.asn1.ObjectIdentifier;
59 encoding = ASN1.encode(this);
78 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {
80 GeneralName.ASN1 }) {
BasicConstraints.java 22 import org.apache.harmony.security.asn1.ASN1Boolean;
23 import org.apache.harmony.security.asn1.ASN1Integer;
24 import org.apache.harmony.security.asn1.ASN1Sequence;
25 import org.apache.harmony.security.asn1.ASN1Type;
26 import org.apache.harmony.security.asn1.BerInputStream;
54 Object[] values = (Object[]) ASN1.decode(encoding);
74 encoding = ASN1.encode(new Object[]{ca, BigInteger.valueOf(pathLenConstraint) });
90 public static final ASN1Type ASN1 = new ASN1Sequence(new ASN1Type[] {
CRLDistributionPoints.java 28 import org.apache.harmony.security.asn1.ASN1SequenceOf;
29 import org.apache.harmony.security.asn1.ASN1Type;
30 import org.apache.harmony.security.asn1.BerInputStream;
81 encoding = ASN1.encode(this);
87 return (CRLDistributionPoints) ASN1.decode(encoding);
103 public static final ASN1Type ASN1 = new ASN1SequenceOf(DistributionPoint.ASN1) {
CRLNumber.java 24 import org.apache.harmony.security.asn1.ASN1Integer;
25 import org.apache.harmony.security.asn1.ASN1Type;
45 number = new BigInteger((byte[]) ASN1.decode(encoding));
60 encoding = ASN1.encode(number.toByteArray());
72 public static final ASN1Type ASN1 = ASN1Integer.getInstance();
CertificateIssuer.java 22 import org.apache.harmony.security.asn1.ASN1Sequence;
23 import org.apache.harmony.security.asn1.ASN1Type;
24 import org.apache.harmony.security.asn1.BerInputStream;
53 issuer = (X500Principal) ASN1.decode(getEncoded());
75 public static final ASN1Type ASN1 = new ASN1Sequence(new ASN1Type[] { GeneralName.ASN1 }) {
CertificatePolicies.java 29 import org.apache.harmony.security.asn1.ASN1SequenceOf;
30 import org.apache.harmony.security.asn1.ASN1Type;
31 import org.apache.harmony.security.asn1.BerInputStream;
57 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding));
88 encoding = ASN1.encode(this);
107 public static final ASN1Type ASN1 = new ASN1SequenceOf(PolicyInformation.ASN1) {
DistributionPointName.java 27 import org.apache.harmony.security.asn1.ASN1Choice;
28 import org.apache.harmony.security.asn1.ASN1Implicit;
29 import org.apache.harmony.security.asn1.ASN1Type;
30 import org.apache.harmony.security.asn1.BerInputStream;
97 public static final ASN1Choice ASN1 = new ASN1Choice(new ASN1Type[] {
98 new ASN1Implicit(0, GeneralNames.ASN1),
EDIPartyName.java 25 import org.apache.harmony.security.asn1.ASN1Explicit;
26 import org.apache.harmony.security.asn1.ASN1Sequence;
27 import org.apache.harmony.security.asn1.ASN1Type;
28 import org.apache.harmony.security.asn1.BerInputStream;
73 encoding = ASN1.encode(this);
81 public static final ASN1Sequence ASN1 = new ASN1Sequence(
83 new ASN1Explicit(0, DirectoryString.ASN1),
84 new ASN1Explicit(1, DirectoryString.ASN1)
ExtendedKeyUsage.java 23 import org.apache.harmony.security.asn1.ASN1Oid;
24 import org.apache.harmony.security.asn1.ASN1SequenceOf;
25 import org.apache.harmony.security.asn1.ASN1Type;
26 import org.apache.harmony.security.asn1.BerInputStream;
27 import org.apache.harmony.security.asn1.ObjectIdentifier;
61 keys = (List<String>) ASN1.decode(getEncoded());
68 encoding = ASN1.encode(keys);
97 public static final ASN1Type ASN1 = new ASN1SequenceOf(new ASN1Oid() {
GeneralSubtree.java 25 import org.apache.harmony.security.asn1.ASN1Implicit;
26 import org.apache.harmony.security.asn1.ASN1Integer;
27 import org.apache.harmony.security.asn1.ASN1Sequence;
28 import org.apache.harmony.security.asn1.ASN1Type;
29 import org.apache.harmony.security.asn1.BerInputStream;
81 encoding = ASN1.encode(this);
99 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {
100 GeneralName.ASN1,
GeneralSubtrees.java 28 import org.apache.harmony.security.asn1.ASN1SequenceOf;
29 import org.apache.harmony.security.asn1.ASN1Type;
30 import org.apache.harmony.security.asn1.BerInputStream;
70 encoding = ASN1.encode(this);
78 public static final ASN1Type ASN1 = new ASN1SequenceOf(GeneralSubtree.ASN1) {
InfoAccessSyntax.java 23 import org.apache.harmony.security.asn1.ASN1SequenceOf;
24 import org.apache.harmony.security.asn1.ASN1Type;
25 import org.apache.harmony.security.asn1.BerInputStream;
63 encoding = ASN1.encode(this);
69 return ((InfoAccessSyntax) ASN1.decode(encoding));
101 public static final ASN1Type ASN1 = new ASN1SequenceOf(AccessDescription.ASN1) {
InvalidityDate.java 22 import org.apache.harmony.security.asn1.ASN1GeneralizedTime;
23 import org.apache.harmony.security.asn1.ASN1Type;
43 date = (Date) ASN1.decode(encoding);
58 encoding = ASN1.encode(date);
70 public static final ASN1Type ASN1 = ASN1GeneralizedTime.getInstance();
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
MessageImprint.java 22 import org.apache.harmony.security.asn1.ASN1OctetString;
23 import org.apache.harmony.security.asn1.ASN1Sequence;
24 import org.apache.harmony.security.asn1.ASN1Type;
25 import org.apache.harmony.security.asn1.BerInputStream;
47 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {
48 AlgorithmIdentifier.ASN1,
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Boolean.java 23 package org.apache.harmony.security.asn1;
31 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a>
36 private static final ASN1Boolean ASN1 = new ASN1Boolean();
59 return ASN1;
ASN1Enumerated.java 23 package org.apache.harmony.security.asn1;
32 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a>
37 private static final ASN1Enumerated ASN1 = new ASN1Enumerated();
60 return ASN1;
ASN1OctetString.java 23 package org.apache.harmony.security.asn1;
32 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a>
37 private static final ASN1OctetString ASN1 = new ASN1OctetString();
58 return ASN1;
  /libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
CertificationRequest.java 20 import org.apache.harmony.security.asn1.ASN1BitString;
21 import org.apache.harmony.security.asn1.ASN1Sequence;
22 import org.apache.harmony.security.asn1.ASN1Type;
23 import org.apache.harmony.security.asn1.BerInputStream;
24 import org.apache.harmony.security.asn1.BitString;
84 encoding = CertificationRequest.ASN1.encode(this);
89 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {
90 CertificationRequestInfo.ASN1, // info
91 AlgorithmIdentifier.ASN1, // signatureAlgorithm
  /libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/
AuthenticatedAttributes.java 25 import org.apache.harmony.security.asn1.ASN1SetOf;
26 import org.apache.harmony.security.asn1.BerInputStream;
53 encoding = ASN1.encode(this);
58 public static final ASN1SetOf ASN1 =
59 new ASN1SetOf(AttributeTypeAndValue.ASN1) {
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
ThreeIntegerSequence.java 21 import org.apache.harmony.security.asn1.ASN1Integer;
22 import org.apache.harmony.security.asn1.ASN1Sequence;
23 import org.apache.harmony.security.asn1.ASN1Type;
24 import org.apache.harmony.security.asn1.BerInputStream;
29 * Such sequences are parts of ASN1 encoded formats for DSA private and public keys.
47 encoding = ASN1.encode(this);
52 public static final ASN1Sequence ASN1 = new ASN1Sequence(new ASN1Type[] {

Completed in 339 milliseconds

1 2 3