| Modifier and Type | Field and Description |
|---|---|
| private Vector | |
| private X500NameStyle |
| Access | Constructor and Description |
|---|---|
| public | |
| public | X500NameBuilder(X500NameStyle
the style template for string to DN conversion. template)Constructor using a specified style. |
| Modifier and Type | Method and Description |
|---|---|
| public X500NameBuilder | Returns: the current builder instance.the OIDs making up the RDN. oids, String[] the string representation of the values the OIDs refer to. values)Add a multi-valued RDN made up of the passed in OIDs and associated string values. |
| public X500NameBuilder | Returns: the current builder instance.the OIDs making up the RDN. oids, ASN1Encodable[] the ASN.1 values the OIDs refer to. values)Add a multi-valued RDN made up of the passed in OIDs and associated ASN.1 values. |
| public X500NameBuilder | Returns: the current builder instance.the AttributeTypeAndValues to build the RDN from. attrTAndVs)Add an RDN based on the passed in AttributeTypeAndValues. |
| public X500NameBuilder | Returns: the current builder instance.the OID for this RDN. oid, String the string representation of the value the OID refers to. value)Add an RDN based on a single OID and a string representation of its value. |
| public X500NameBuilder | Returns: the current builder instance.the OID for this RDN. oid, ASN1Encodable the ASN.1 value the OID refers to. value)Add an RDN based on a single OID and an ASN.1 value. |
| public X500NameBuilder | Returns: the current builder instance.the AttributeTypeAndValue to build the RDN from. attrTAndV)Add an RDN based on the passed in AttributeTypeAndValue. |
| public X500Name |
| rdns | back to summary |
|---|---|
| private Vector<E> rdns | |
| template | back to summary |
|---|---|
| private X500NameStyle template | |
| X500NameBuilder | back to summary |
|---|---|
| public X500NameBuilder() Constructor using the default style (BCStyle). | |
| X500NameBuilder | back to summary |
|---|---|
| public X500NameBuilder(X500NameStyle template) Constructor using a specified style.
| |
| addMultiValuedRDN | back to summary |
|---|---|
| public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) Add a multi-valued RDN made up of the passed in OIDs and associated string values.
| |
| addMultiValuedRDN | back to summary |
|---|---|
| public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) Add a multi-valued RDN made up of the passed in OIDs and associated ASN.1 values.
| |
| addMultiValuedRDN | back to summary |
|---|---|
| public X500NameBuilder addMultiValuedRDN(AttributeTypeAndValue[] attrTAndVs) Add an RDN based on the passed in AttributeTypeAndValues.
| |
| addRDN | back to summary |
|---|---|
| public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, String value) Add an RDN based on a single OID and a string representation of its value.
| |
| addRDN | back to summary |
|---|---|
| public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value) Add an RDN based on a single OID and an ASN.1 value.
| |
| addRDN | back to summary |
|---|---|
| public X500NameBuilder addRDN(AttributeTypeAndValue attrTAndV) Add an RDN based on the passed in AttributeTypeAndValue.
| |
| build | back to summary |
|---|---|
| public X500Name build() Build an X.500 name for the current builder state.
| |