
public final class X500DirectoryAttribute extends Object implements ASN1Encodable
| Modifier and Type | Method and Description |
|---|---|
static X500DirectoryAttribute |
create(String attributeType)
Construct a new instance with no values.
|
static X500DirectoryAttribute |
create(String attributeType,
ASN1Encodable value)
Construct a new instance with one value.
|
static X500DirectoryAttribute |
create(String attributeType,
Collection<ASN1Encodable> values)
Construct a new instance.
|
static X500DirectoryAttribute |
createObjectId(String attributeType,
String oid)
Construct a new instance with one OID value.
|
static X500DirectoryAttribute |
createUtf8(String attributeType,
String stringValue)
Construct a new instance with one 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 X500DirectoryAttribute create(String attributeType, Collection<ASN1Encodable> values)
attributeType - the attribute type OID (must not be null)values - the values collection (must not be null)public static X500DirectoryAttribute create(String attributeType)
attributeType - the attribute type OID (must not be null)public static X500DirectoryAttribute create(String attributeType, ASN1Encodable value)
attributeType - the attribute type OID (must not be null)value - the single value (must not be null)public static X500DirectoryAttribute createUtf8(String attributeType, String stringValue)
attributeType - the attribute type OID (must not be null)stringValue - the string value (must not be null)public static X500DirectoryAttribute 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 © 2020 JBoss by Red Hat. All rights reserved.