public final class X500AttributeTypeAndValue extends Object implements ASN1Encodable
| Modifier and Type | Method and Description |
|---|---|
static X500AttributeTypeAndValue |
create(String attributeType,
ASN1Encodable value)
Construct a new instance with the given value.
|
static X500AttributeTypeAndValue |
createObjectId(String attributeType,
String oid)
Construct a new instance with an OID value.
|
static X500AttributeTypeAndValue |
createUtf8(String attributeType,
String stringValue)
Construct a new instance with a UTF-8 value.
|
void |
encodeTo(ASN1Encoder encoder)
Encode this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8Stringpublic static X500AttributeTypeAndValue create(String attributeType, ASN1Encodable value)
attributeType - the attribute type OID (must not be null)value - the single value (must not be null)public static X500AttributeTypeAndValue createUtf8(String attributeType, String stringValue)
attributeType - the attribute type OID (must not be null)stringValue - the string value (must not be null)public static X500AttributeTypeAndValue createObjectId(String attributeType, String oid)
attributeType - the attribute type OID (must not be null)oid - the OID (must not be null)public void encodeTo(ASN1Encoder encoder)
ASN1EncodableencodeTo in interface ASN1Encodableencoder - the encoder (must not be null)Copyright © 2018 JBoss by Red Hat. All rights reserved.