OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASN1
(Results
1 - 25
of
119
) sorted by null
1
2
3
4
5
/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/x509/
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();
InvalidityDate.java
22
import org.apache.harmony.security.
asn1
.ASN1GeneralizedTime;
23
import org.apache.harmony.security.
asn1
.ASN1Type;
43
date = (Date)
ASN1
.decode(encoding);
65
encoding =
ASN1
.encode(date);
77
public static final ASN1Type
ASN1
= ASN1GeneralizedTime.getInstance();
KeyUsage.java
21
import org.apache.harmony.security.
asn1
.ASN1BitString;
22
import org.apache.harmony.security.
asn1
.ASN1Type;
69
this.keyUsage = (boolean[])
ASN1
.decode(encoding);
78
encoding =
ASN1
.encode(keyUsage);
96
private static final ASN1Type
ASN1
= new ASN1BitString.ASN1NamedBitList(9);
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
) {
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
)
Validity.java
26
import org.apache.harmony.security.
asn1
.ASN1Sequence;
27
import org.apache.harmony.security.
asn1
.ASN1Type;
28
import org.apache.harmony.security.
asn1
.BerInputStream;
77
encoding =
ASN1
.encode(this);
85
public static final ASN1Sequence
ASN1
86
= new ASN1Sequence(new ASN1Type[] {Time.
ASN1
, Time.
ASN1
}) {
AlternativeName.java
49
this.alternativeNames = (GeneralNames) GeneralNames.
ASN1
.decode(encoding);
57
encoding = GeneralNames.
ASN1
.encode(alternativeNames);
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[] {
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
) {
DistributionPoint.java
26
import org.apache.harmony.security.
asn1
.ASN1Explicit;
27
import org.apache.harmony.security.
asn1
.ASN1Implicit;
28
import org.apache.harmony.security.
asn1
.ASN1Sequence;
29
import org.apache.harmony.security.
asn1
.ASN1Type;
30
import org.apache.harmony.security.
asn1
.BerInputStream;
105
public static final ASN1Sequence
ASN1
= new ASN1Sequence(new ASN1Type[] {
106
new ASN1Explicit(0, DistributionPointName.
ASN1
),
107
new ASN1Implicit(1, ReasonFlags.
ASN1
),
108
new ASN1Implicit(2, GeneralNames.
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
) {
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
=
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
TimeTest.java
24
import org.apache.harmony.security.
asn1
.ASN1Constants;
41
byte[] enc = Time.
ASN1
.encode(new Date(march2006));
45
enc = Time.
ASN1
.encode(new Date(march2332));
GeneralNamesTest.java
48
byte[] encoding = GeneralNames.
ASN1
.encode(subj_alt_names);
50
GeneralNames gnames = (GeneralNames) GeneralNames.
ASN1
.decode(encoding);
/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
;
ASN1Any.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 ASN1Any
ASN1
= new ASN1Any();
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
;
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
asn_pack.c
57
#include <openssl/
asn1
.h>
71
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_pack, ERR_R_MALLOC_FAILURE);
83
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_pack, ASN1_R_ENCODE_ERROR);
87
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_pack, ERR_R_MALLOC_FAILURE);
93
/* Extract an
ASN1
object from an ASN1_STRING */
102
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_unpack, ASN1_R_DECODE_ERROR);
tasn_dec.c
57
#include <openssl/
asn1
.h>
117
/* Decode an
ASN1
item, this currently behaves just
188
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE);
205
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR);
214
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_MSTRING_NOT_UNIVERSAL);
223
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_MSTRING_WRONG_TAG);
254
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR);
282
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR);
297
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR);
308
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR)
[
all
...]
a_i2d_fp.c
57
#include <openssl/
asn1
.h>
70
OPENSSL_PUT_ERROR(
ASN1
, ASN1_i2d_fp, ERR_R_BUF_LIB);
89
OPENSSL_PUT_ERROR(
ASN1
, ASN1_i2d_bio, ERR_R_MALLOC_FAILURE);
119
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_i2d_fp, ERR_R_BUF_LIB);
136
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_i2d_bio, ERR_R_MALLOC_FAILURE);
a_d2i_fp.c
57
#include <openssl/
asn1
.h>
78
OPENSSL_PUT_ERROR(
ASN1
, ASN1_d2i_fp, ERR_R_BUF_LIB);
132
OPENSSL_PUT_ERROR(
ASN1
, ASN1_item_d2i_fp, ERR_R_BUF_LIB);
157
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE);
170
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE);
176
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ASN1_R_NOT_ENOUGH_DATA);
183
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ASN1_R_TOO_LONG);
214
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ASN1_R_HEADER_TOO_LONG);
238
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ASN1_R_TOO_LONG);
243
OPENSSL_PUT_ERROR(
ASN1
, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE)
[
all
...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/
SignerInfoTest.java
45
byte[] encoding = SignerInfo.
ASN1
.encode(signerInfo);
47
signerInfo = (SignerInfo) SignerInfo.
ASN1
.decode(encoding);
/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
Completed in 1588 milliseconds
1
2
3
4
5