Home | History | Annotate | Download | only in x509

Lines Matching defs:tag

60     private int           tag;
70 this.tag = 4;
77 this.tag = 4;
108 int tag,
112 this.tag = tag;
116 * Create a GeneralName for the given tag from the passed in String.
134 * @param tag tag number
139 int tag,
142 this.tag = tag;
144 if (tag == rfc822Name || tag == dNSName || tag == uniformResourceIdentifier)
148 else if (tag == registeredID)
152 else if (tag == directoryName)
156 else if (tag == iPAddress)
170 throw new IllegalArgumentException("can't process String for tag: " + tag);
185 int tag = tagObj.getTagNo();
187 switch (tag)
190 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false));
192 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false));
194 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false));
196 throw new IllegalArgumentException("unknown tag: " + tag);
198 return new GeneralName(tag, X500Name.getInstance(tagObj, true));
200 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false));
202 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false));
204 return new GeneralName(tag, ASN1OctetString.getInstance(tagObj, false));
206 return new GeneralName(tag, ASN1ObjectIdentifier.getInstance(tagObj, false));
234 return tag;
246 buf.append(tag);
248 switch (tag)
430 if (tag == directoryName) // directoryName is explicitly tagged as it is a CHOICE
432 return new DERTaggedObject(true, tag, obj);
436 return new DERTaggedObject(false, tag, obj);