133134135136137138139140141142143
String name) { if (tag == rfc822Name || tag == dNSName || tag == uniformResourceIdentifier) { this.tag = tag; this.obj = new DERIA5String(name); } else if (tag == registeredID) { this.tag = tag; this.obj = new DERObjectIdentifier(name);
5657585960616263646566
throw new RuntimeException("can't recode value for oid " + oid.getId(), e); } } else if (oid.equals(X509Name.EmailAddress)) { return new DERIA5String(value); } else if (canBePrintable(value)) { return new DERPrintableString(value); }
63646566676869
* <code>String</code>. */ public PolicyQualifierInfo (String cps) { policyQualifierId = PolicyQualifierId.id_qt_cps; qualifier = new DERIA5String (cps); }
93949596979899100101102103
} contentType = type; switch (type) { case CONTENT_TYPE_IA5STRING: contents = (DERString)new DERIA5String (text); break; case CONTENT_TYPE_UTF8STRING: contents = (DERString)new DERUTF8String(text); break; case CONTENT_TYPE_VISIBLESTRING:
throw new RuntimeException("can't recode value for oid " + oid.getId()); } } else if (oid.equals(X509Name.EmailAddress)) { return new DERIA5String(value); } else if (canBePrintable(value)) { return new DERPrintableString(value); }
137138139140141142143144145146147
{ this.tag = tag; if (tag == rfc822Name || tag == dNSName || tag == uniformResourceIdentifier) { this.obj = new DERIA5String(name); } else if (tag == registeredID) { this.obj = new DERObjectIdentifier(name); }
7879808182838485868788
contentType = type; switch (type) { case CONTENT_TYPE_IA5STRING: contents = new DERIA5String(text); break; case CONTENT_TYPE_UTF8STRING: contents = new DERUTF8String(text); break; case CONTENT_TYPE_VISIBLESTRING:
141142143144145146147148149150151
{ this.tag = tag; if (tag == rfc822Name || tag == dNSName || tag == uniformResourceIdentifier) { this.obj = new DERIA5String(name); } else if (tag == registeredID) { this.obj = new ASN1ObjectIdentifier(name); }
48495051525354
*/ public PolicyQualifierInfo( String cps) { policyQualifierId = PolicyQualifierId.id_qt_cps; qualifier = new DERIA5String (cps); }