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

1 2 3 4

  /libcore/ojluni/src/main/java/sun/security/x509/
SerialNumber.java 42 // Construct the class from the DerValue
43 private void construct(DerValue derVal) throws IOException {
75 DerValue derVal = in.getDerValue();
80 * Create the object, decoding the values from the passed DerValue.
82 * @param val the DerValue to read the SerialNumber from.
85 public SerialNumber(DerValue val) throws IOException {
96 DerValue derVal = new DerValue(in);
X400Address.java 29 import sun.security.util.DerValue;
352 * @param derValue the encoded DER X400Address.
355 public X400Address(DerValue derValue) throws IOException {
356 nameValue = derValue.toByteArray();
373 DerValue derValue = new DerValue(nameValue);
374 out.putDerValue(derValue);
GeneralName.java 75 public GeneralName(DerValue encName) throws IOException {
85 public GeneralName(DerValue encName, boolean nameConstraint)
94 encName.resetTag(DerValue.tag_Sequence);
103 encName.resetTag(DerValue.tag_IA5String);
112 encName.resetTag(DerValue.tag_IA5String);
121 encName.resetTag(DerValue.tag_IA5String);
131 encName.resetTag(DerValue.tag_OctetString);
140 encName.resetTag(DerValue.tag_ObjectId);
157 encName.resetTag(DerValue.tag_Sequence);
236 out.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT
    [all...]
GeneralSubtree.java 74 public GeneralSubtree(DerValue val) throws IOException {
75 if (val.tag != DerValue.tag_Sequence) {
84 DerValue opt = val.data.getDerValue();
87 opt.resetTag(DerValue.tag_Integer);
91 opt.resetTag(DerValue.tag_Integer);
200 seq.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
206 seq.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
209 out.write(DerValue.tag_Sequence, seq)
    [all...]
DistributionPoint.java 33 import sun.security.util.DerValue;
190 public DistributionPoint(DerValue val) throws IOException {
191 if (val.tag != DerValue.tag_Sequence) {
199 DerValue opt = val.data.getDerValue();
206 DerValue distPnt = opt.data.getDerValue();
209 distPnt.resetTag(DerValue.tag_Sequence);
213 distPnt.resetTag(DerValue.tag_Set);
225 opt.resetTag(DerValue.tag_BitString);
233 opt.resetTag(DerValue.tag_Sequence);
290 DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_FULL_NAME)
    [all...]
CertificatePolicyMap.java 59 public CertificatePolicyMap(DerValue val) throws IOException {
60 if (val.tag != DerValue.tag_Sequence) {
104 out.write(DerValue.tag_Sequence,tmp);
DistributionPointName.java 33 import sun.security.util.DerValue;
130 public DistributionPointName(DerValue encoding) throws IOException {
135 encoding.resetTag(DerValue.tag_Sequence);
141 encoding.resetTag(DerValue.tag_Set);
177 DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_FULL_NAME),
183 DerValue.createTag(DerValue.TAG_CONTEXT, true,
EDIPartyName.java 79 * @param derValue the encoded DER EDIPartyName.
82 public EDIPartyName(DerValue derValue) throws IOException {
83 DerInputStream in = new DerInputStream(derValue.toByteArray());
84 DerValue[] seq = in.getSequence(2);
91 DerValue opt = seq[i];
132 tagged.write(DerValue.createTag(DerValue.TAG_CONTEXT,
140 tagged.write(DerValue.createTag(DerValue.TAG_CONTEXT
    [all...]
PolicyConstraintsExtension.java 91 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
97 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
100 seq.write(DerValue.tag_Sequence, tagged);
149 DerValue val = new DerValue(this.extensionValue);
150 if (val.tag != DerValue.tag_Sequence) {
155 DerValue next = in.getDerValue();
161 next.resetTag(DerValue.tag_Integer)
    [all...]
IssuingDistributionPointExtension.java 35 import sun.security.util.DerValue;
178 DerValue val = new DerValue(extensionValue);
179 if (val.tag != DerValue.tag_Sequence) {
191 DerValue opt = in.getDerValue();
199 opt.resetTag(DerValue.tag_Boolean);
203 opt.resetTag(DerValue.tag_Boolean);
210 opt.resetTag(DerValue.tag_Boolean);
214 opt.resetTag(DerValue.tag_Boolean);
396 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, true
    [all...]
GeneralNames.java 50 * Create the GeneralNames, decoding from the passed DerValue.
52 * @param derVal the DerValue to construct the GeneralNames from.
55 public GeneralNames(DerValue derVal) throws IOException {
57 if (derVal.tag != DerValue.tag_Sequence) {
66 DerValue encName = derVal.data.getDerValue();
123 out.write(DerValue.tag_Sequence, temp);
KeyIdentifier.java 57 * @param val the DerValue
59 public KeyIdentifier(DerValue val) throws IOException {
85 DerValue algAndKey = new DerValue(pubKey.getEncoded());
86 if (algAndKey.tag != DerValue.tag_Sequence)
CertificateVersion.java 74 // Construct the class from the passed DerValue
75 private void construct(DerValue derVal) throws IOException {
118 DerValue derVal = in.getDerValue();
131 DerValue derVal = new DerValue(in);
137 * Create the object, decoding the values from the passed DerValue.
142 public CertificateVersion(DerValue val) throws IOException {
170 seq.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0),
CertificateIssuerUniqueIdentity.java 85 DerValue val = new DerValue(in);
92 * @param in the DerValue to read the UniqueIdentity from.
95 public CertificateIssuerUniqueIdentity(DerValue val)
116 id.encode(tmp,DerValue.createTag(DerValue.TAG_CONTEXT,false,(byte)1));
CertificateSubjectUniqueIdentity.java 84 DerValue val = new DerValue(in);
91 * @param in the DerValue to read the UniqueIdentity from.
94 public CertificateSubjectUniqueIdentity(DerValue val)
115 id.encode(tmp,DerValue.createTag(DerValue.TAG_CONTEXT,false,(byte)2));
CertificateValidity.java 70 // Construct the class from the DerValue
71 private void construct(DerValue derVal) throws IOException {
72 if (derVal.tag != DerValue.tag_Sequence) {
81 DerValue[] seq = derIn.getSequence(2);
85 if (seq[0].tag == DerValue.tag_UtcTime) {
87 } else if (seq[0].tag == DerValue.tag_GeneralizedTime) {
93 if (seq[1].tag == DerValue.tag_UtcTime) {
95 } else if (seq[1].tag == DerValue.tag_GeneralizedTime) {
127 DerValue derVal = in.getDerValue();
168 seq.write(DerValue.tag_Sequence, pair)
    [all...]
PrivateKeyUsageExtension.java 94 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
100 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
103 seq.write(DerValue.tag_Sequence, tagged);
141 DerValue[] seq = str.getSequence(2);
147 DerValue opt = seq[i];
155 opt.resetTag(DerValue.tag_GeneralizedTime);
165 opt.resetTag(DerValue.tag_GeneralizedTime);
  /libcore/ojluni/src/main/java/sun/security/timestamp/
TimestampToken.java 31 import sun.security.util.DerValue;
132 DerValue tstInfo = new DerValue(timestampTokenInfo);
133 if (tstInfo.tag != DerValue.tag_Sequence) {
143 DerValue messageImprint = tstInfo.data.getDerValue();
155 DerValue d = tstInfo.data.getDerValue();
156 if (d.tag == DerValue.tag_Integer) { // must be the nonce
  /libcore/ojluni/src/main/java/sun/security/util/
DerInputStream.java 167 if (buffer.read() != DerValue.tag_Integer) {
179 if (buffer.read() != DerValue.tag_Integer) {
193 if (buffer.read() != DerValue.tag_Integer) {
205 if (buffer.read() != DerValue.tag_Enumerated) {
216 if (buffer.read() != DerValue.tag_BitString)
227 if (buffer.read() != DerValue.tag_BitString)
249 if (buffer.read() != DerValue.tag_OctetString)
273 if (buffer.read() != DerValue.tag_Null || buffer.read() != 0)
294 public DerValue[] getSequence(int startLen,
297 if (tag != DerValue.tag_Sequence
    [all...]
DerOutputStream.java 74 * <em>DerValue.tag_Sequence</em>
89 * <em>DerValue.tag_Sequence</em>
124 public void putDerValue(DerValue val) throws IOException {
140 write(DerValue.tag_Boolean);
154 write(DerValue.tag_Enumerated);
164 write(DerValue.tag_Integer);
183 write(DerValue.tag_Integer);
238 write(DerValue.tag_BitString);
253 write(DerValue.tag_BitString);
275 write(DerValue.tag_OctetString, octets)
    [all...]
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
OCSPRequest.java 113 requestsOut.write(DerValue.tag_Sequence, certIdOut);
116 tmp.write(DerValue.tag_Sequence, requestsOut);
126 extsOut.write(DerValue.tag_Sequence, extOut);
127 tmp.write(DerValue.createTag(DerValue.TAG_CONTEXT,
132 tbsRequest.write(DerValue.tag_Sequence, tmp);
136 ocspRequest.write(DerValue.tag_Sequence, tbsRequest);
  /libcore/ojluni/src/main/java/sun/security/pkcs/
ContentInfo.java 87 DerValue content; // OPTIONAL
89 public ContentInfo(ObjectIdentifier contentType, DerValue content) {
98 DerValue octetString = new DerValue(DerValue.tag_OctetString, bytes);
127 DerValue type;
128 DerValue taggedContent;
129 DerValue[] typeAndContent;
130 DerValue[] contents;
157 public DerValue getContent()
    [all...]
SigningCertificateInfo.java 33 import sun.security.util.DerValue;
109 DerValue derValue = new DerValue(bytes);
110 if (derValue.tag != DerValue.tag_Sequence) {
115 DerValue[] certs = derValue.data.getSequence(1);
122 if (derValue.data.available() > 0) {
123 DerValue[] policies = derValue.data.getSequence(1)
    [all...]
  /libcore/ojluni/src/main/java/sun/security/ec/
ECPrivateKeyImpl.java 93 DerValue val =
94 new DerValue(DerValue.tag_Sequence, out.toByteArray());
123 DerValue derValue = in.getDerValue();
124 if (derValue.tag != DerValue.tag_Sequence) {
127 DerInputStream data = derValue.data;
135 DerValue value = data.getDerValue();
  /libcore/ojluni/src/main/java/java/security/cert/
PolicyQualifierInfo.java 31 import sun.security.util.DerValue;
103 DerValue val = new DerValue(mEncoded);
104 if (val.tag != DerValue.tag_Sequence)

Completed in 480 milliseconds

1 2 3 4