Name ::= CHOICE {
RDNSequence }
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
AttributeTypeAndValue ::= SEQUENCE {
type OBJECT IDENTIFIER,
value ANY }
| Modifier and Type | Field and Description |
|---|---|
| private static X500NameStyle | |
| private int | |
| private boolean | |
| private RDN[] | |
| private DERSequence | |
| private X500NameStyle |
| Access | Constructor and Description |
|---|---|
| public | X500Name(X500NameStyle style, X500Name name)
Deprecated
use the getInstance() method that takes a style.
|
| private | X500Name(ASN1Sequence seq)
Constructor from ASN1Sequence the principal will be a list of constructed sets, each containing an (OID, String) pair. |
| private | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. test for equality - note: case is ignored. |
| public ASN1ObjectIdentifier[] | Returns: an array, possibly zero length, of ASN1ObjectIdentifiers objects.return an array of OIDs contained in the attribute type of each RDN in structure order. |
| public static X500NameStyle | |
| public static X500Name | Returns: the X500Nametag object holding name. obj, boolean true if explicitly tagged false otherwise. explicit)Return a X500Name based on the passed in tagged object. |
| public static X500Name | |
| public static X500Name | |
| public RDN[] | |
| public RDN[] | Returns: an array, possibly zero length, of RDN objects.the type OID we are looking for. attributeType)return an array of RDNs containing the attribute type given by OID in structure order. |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public static void | setDefaultStyle(X500NameStyle
an X500NameStyle style)Set the default style for X500Name construction. |
| public int | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| public String |
| defaultStyle | back to summary |
|---|---|
| private static X500NameStyle defaultStyle | |
| hashCodeValue | back to summary |
|---|---|
| private int hashCodeValue | |
| isHashCodeCalculated | back to summary |
|---|---|
| private boolean isHashCodeCalculated | |
| rdns | back to summary |
|---|---|
| private RDN[] rdns | |
| rdnSeq | back to summary |
|---|---|
| private DERSequence rdnSeq | |
| style | back to summary |
|---|---|
| private X500NameStyle style | |
| X500Name | back to summary |
|---|---|
| public X500Name(X500NameStyle style, X500Name name)
Deprecated use the getInstance() method that takes a style. | |
| X500Name | back to summary |
|---|---|
| private X500Name(ASN1Sequence seq) Constructor from ASN1Sequence the principal will be a list of constructed sets, each containing an (OID, String) pair. | |
| X500Name | back to summary |
|---|---|
| private X500Name(X500NameStyle style, ASN1Sequence seq) | |
| X500Name | back to summary |
|---|---|
| public X500Name(RDN[] rDNs) | |
| X500Name | back to summary |
|---|---|
| public X500Name(X500NameStyle style, RDN[] rDNs) | |
| X500Name | back to summary |
|---|---|
| public X500Name(String dirName) | |
| X500Name | back to summary |
|---|---|
| public X500Name(X500NameStyle style, String dirName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. test for equality - note: case is ignored.
| |
| getAttributeTypes | back to summary |
|---|---|
| public ASN1ObjectIdentifier[] getAttributeTypes() return an array of OIDs contained in the attribute type of each RDN in structure order.
| |
| getDefaultStyle | back to summary |
|---|---|
| public static X500NameStyle getDefaultStyle() Return the current default style.
| |
| getInstance | back to summary |
|---|---|
| public static X500Name getInstance(ASN1TaggedObject obj, boolean explicit) Return a X500Name based on the passed in tagged object.
| |
| getInstance | back to summary |
|---|---|
| public static X500Name getInstance(Object obj) | |
| getInstance | back to summary |
|---|---|
| public static X500Name getInstance(X500NameStyle style, Object obj) | |
| getRDNs | back to summary |
|---|---|
| public RDN[] getRDNs() return an array of RDNs in structure order.
| |
| getRDNs | back to summary |
|---|---|
| public RDN[] getRDNs(ASN1ObjectIdentifier attributeType) return an array of RDNs containing the attribute type given by OID in structure order.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setDefaultStyle | back to summary |
|---|---|
| public static void setDefaultStyle(X500NameStyle style) Set the default style for X500Name construction.
| |
| size | back to summary |
|---|---|
| public int size() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |