/libcore/ojluni/src/main/java/sun/security/x509/ |
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,
|
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...] |
AuthorityKeyIdentifierExtension.java | 93 tmp.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 100 tmp.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 109 tmp.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 112 seq.write(DerValue.tag_Sequence, tmp); 152 DerValue val = new DerValue(this.extensionValue); 153 if (val.tag != DerValue.tag_Sequence) [all...] |
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),
|
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...] |
OtherName.java | 85 * @param derValue the encoded DER OtherName. 88 public OtherName(DerValue derValue) throws IOException { 89 DerInputStream in = derValue.toDerInputStream(); 92 DerValue val = in.getDerValue(); 161 tmp.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_VALUE), nameValue); 162 out.write(DerValue.tag_Sequence, tmp);
|
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...] |
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);
|
CRLExtensions.java | 96 DerValue val = str.getDerValue(); 100 DerValue[] exts = str.getSequence(5); 162 seq.write(DerValue.tag_Sequence, extOut); 166 tmp.write(DerValue.createTag(DerValue.TAG_CONTEXT,
|
CertificateExtensions.java | 84 DerValue[] exts = in.getSequence(5); 182 seq.write(DerValue.tag_Sequence, extOut); 187 tmp.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)3),
|
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...] |
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...] |
NameConstraintsExtension.java | 127 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 133 tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 136 seq.write(DerValue.tag_Sequence, tagged); 173 DerValue val = new DerValue(this.extensionValue); 174 if (val.tag != DerValue.tag_Sequence) { 188 DerValue opt = val.data.getDerValue(); 195 opt.resetTag(DerValue.tag_Sequence) [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);
|
X509CertificatePair.java | 38 import sun.security.util.DerValue; 120 parse(new DerValue(encoded)); 223 private void parse(DerValue val) 226 if (val.tag != DerValue.tag_Sequence) { 232 DerValue opt = val.data.getDerValue(); 276 tmp.putDerValue(new DerValue(forward.getEncoded())); 277 tagged.write(DerValue.createTag(DerValue.TAG_CONTEXT, 283 tmp.putDerValue(new DerValue(reverse.getEncoded())); 284 tagged.write(DerValue.createTag(DerValue.TAG_CONTEXT [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
DerValue.java | 56 public class DerValue { 214 public DerValue(String value) throws IOException { 231 public DerValue(byte stringTag, String value) throws IOException { 236 * Creates a DerValue from a tag and some DER-encoded data. 241 public DerValue(byte tag, byte[] data) { 252 DerValue(DerInputBuffer in, boolean originalEncodedFormRetained) 306 public DerValue(byte[] buf) throws IOException { 319 public DerValue(byte[] buf, int offset, int len) throws IOException { 332 public DerValue(InputStream in) throws IOException { 397 throw new IOException("extra data given to DerValue constructor") [all...] |