/** * Construct a new instance with one UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with a UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME))); dn = principalBuilder.build();
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName()))); X500Principal dn = principalBuilder.build(); if (keyAlgorithmName == null) {
/** * Construct a new instance with a UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with a UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with one UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with one UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with one UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
/** * Construct a new instance with a UTF-8 value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param stringValue the string value (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) { Assert.checkNotNullParam("stringValue", stringValue); return create(attributeType, ASN1Encodable.ofUtf8String(stringValue)); }
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME))); dn = principalBuilder.build();
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME))); dn = principalBuilder.build();
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME))); dn = principalBuilder.build();
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName()))); X500Principal dn = principalBuilder.build(); if (keyAlgorithmName == null) {
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName()))); X500Principal dn = principalBuilder.build(); if (keyAlgorithmName == null) {
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName()))); X500Principal dn = principalBuilder.build(); if (keyAlgorithmName == null) {