use of com.github.zhenwei.core.asn1.ASN1IA5String in project keystore-explorer by kaikramer.
the class X509Ext method getNetscapeCaPolicyUrlStringValue.
private static String getNetscapeCaPolicyUrlStringValue(byte[] value) throws IOException {
// @formatter:off
/* NetscapeCAPolicyUrl ::= DERIA5String */
// @formatter:on
StringBuilder sb = new StringBuilder();
ASN1IA5String netscapeCaPolicyUrl = ASN1IA5String.getInstance(value);
sb.append(netscapeCaPolicyUrl.getString());
sb.append(NEWLINE);
return sb.toString();
}
use of com.github.zhenwei.core.asn1.ASN1IA5String in project keystore-explorer by kaikramer.
the class X509Ext method getNetscapeCertificateRenewalStringValue.
private static String getNetscapeCertificateRenewalStringValue(byte[] value) throws IOException {
// @formatter:off
/* NetscapeCertRenewalUrl ::= DERIA5String */
// @formatter:on
StringBuilder sb = new StringBuilder();
ASN1IA5String netscapeCertRenewalUrl = ASN1IA5String.getInstance(value);
sb.append(netscapeCertRenewalUrl.getString());
sb.append(NEWLINE);
return sb.toString();
}
use of com.github.zhenwei.core.asn1.ASN1IA5String in project keystore-explorer by kaikramer.
the class X509Ext method getNetscapeCommentStringValue.
private static String getNetscapeCommentStringValue(byte[] value) throws IOException {
// @formatter:off
/* NetscapeComment ::= DERIA5String */
// @formatter:on
StringBuilder sb = new StringBuilder();
ASN1IA5String netscapeComment = ASN1IA5String.getInstance(value);
sb.append(netscapeComment.getString());
sb.append(NEWLINE);
return sb.toString();
}
use of com.github.zhenwei.core.asn1.ASN1IA5String in project keystore-explorer by kaikramer.
the class X509Ext method getNetscapeCaRevocationUrlStringValue.
private static String getNetscapeCaRevocationUrlStringValue(byte[] value) throws IOException {
// @formatter:off
/* NetscapeCARevocationUrl ::= DERIA5String */
// @formatter:on
StringBuilder sb = new StringBuilder();
ASN1IA5String netscapeCaRevocationUrl = ASN1IA5String.getInstance(value);
sb.append(netscapeCaRevocationUrl.getString());
sb.append(NEWLINE);
return sb.toString();
}
use of com.github.zhenwei.core.asn1.ASN1IA5String in project keystore-explorer by kaikramer.
the class X509Ext method getNetscapeBaseUrlStringValue.
private static String getNetscapeBaseUrlStringValue(byte[] value) throws IOException {
// @formatter:off
/* NetscapeBaseUrl ::= DERIA5String */
// @formatter:on
StringBuilder sb = new StringBuilder();
ASN1IA5String netscapeBaseUrl = ASN1IA5String.getInstance(value);
sb.append(netscapeBaseUrl.getString());
sb.append(NEWLINE);
return sb.toString();
}
Aggregations