public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(policyQualifierId); body.encodeTo(encoder); encoder.endSequence(); }
/** * 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 OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
/** * 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)); }
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(attributeType); value.encodeTo(encoder); encoder.endSequence(); } }
/** * Construct a new instance with an OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME))); dn = principalBuilder.build();
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(attributeType); encoder.startSet(); for (ASN1Encodable value : values) { value.encodeTo(encoder); } encoder.endSet(); encoder.endSequence(); } }
/** * Construct a new instance with one OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500DirectoryAttribute createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName()))); X500Principal dn = principalBuilder.build(); if (keyAlgorithmName == null) {
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(attributeType); value.encodeTo(encoder); encoder.endSequence(); } }
/** * Construct a new instance with an OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
/** * 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)); }
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(policyQualifierId); body.encodeTo(encoder); encoder.endSequence(); }
/** * Construct a new instance with an OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
/** * 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)); }
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(policyQualifierId); body.encodeTo(encoder); encoder.endSequence(); }
/** * Construct a new instance with an OID value. * * @param attributeType the attribute type OID (must not be {@code null}) * @param oid the OID (must not be {@code null}) * @return the directory attribute */ public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) { return create(attributeType, ASN1Encodable.ofOid(oid)); }
/** * 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)); }
public void encodeTo(final ASN1Encoder encoder) { encoder.startSequence(); encoder.encodeObjectIdentifier(policyQualifierId); body.encodeTo(encoder); encoder.endSequence(); }