org.bouncycastle.asn1.x500.style
Class RFC4519Style
java.lang.Object
|
+--org.bouncycastle.asn1.x500.style.AbstractX500NameStyle
|
+--org.bouncycastle.asn1.x500.style.RFC4519Style
- All Implemented Interfaces:
- X500NameStyle
- public class RFC4519Style
- extends AbstractX500NameStyle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
businessCategory
public static final ASN1ObjectIdentifier businessCategory
c
public static final ASN1ObjectIdentifier c
cn
public static final ASN1ObjectIdentifier cn
dc
public static final ASN1ObjectIdentifier dc
description
public static final ASN1ObjectIdentifier description
destinationIndicator
public static final ASN1ObjectIdentifier destinationIndicator
distinguishedName
public static final ASN1ObjectIdentifier distinguishedName
dnQualifier
public static final ASN1ObjectIdentifier dnQualifier
enhancedSearchGuide
public static final ASN1ObjectIdentifier enhancedSearchGuide
facsimileTelephoneNumber
public static final ASN1ObjectIdentifier facsimileTelephoneNumber
generationQualifier
public static final ASN1ObjectIdentifier generationQualifier
givenName
public static final ASN1ObjectIdentifier givenName
houseIdentifier
public static final ASN1ObjectIdentifier houseIdentifier
initials
public static final ASN1ObjectIdentifier initials
internationalISDNNumber
public static final ASN1ObjectIdentifier internationalISDNNumber
l
public static final ASN1ObjectIdentifier l
member
public static final ASN1ObjectIdentifier member
name
public static final ASN1ObjectIdentifier name
o
public static final ASN1ObjectIdentifier o
ou
public static final ASN1ObjectIdentifier ou
owner
public static final ASN1ObjectIdentifier owner
physicalDeliveryOfficeName
public static final ASN1ObjectIdentifier physicalDeliveryOfficeName
postalAddress
public static final ASN1ObjectIdentifier postalAddress
postalCode
public static final ASN1ObjectIdentifier postalCode
postOfficeBox
public static final ASN1ObjectIdentifier postOfficeBox
preferredDeliveryMethod
public static final ASN1ObjectIdentifier preferredDeliveryMethod
registeredAddress
public static final ASN1ObjectIdentifier registeredAddress
roleOccupant
public static final ASN1ObjectIdentifier roleOccupant
searchGuide
public static final ASN1ObjectIdentifier searchGuide
seeAlso
public static final ASN1ObjectIdentifier seeAlso
serialNumber
public static final ASN1ObjectIdentifier serialNumber
sn
public static final ASN1ObjectIdentifier sn
st
public static final ASN1ObjectIdentifier st
street
public static final ASN1ObjectIdentifier street
telephoneNumber
public static final ASN1ObjectIdentifier telephoneNumber
teletexTerminalIdentifier
public static final ASN1ObjectIdentifier teletexTerminalIdentifier
telexNumber
public static final ASN1ObjectIdentifier telexNumber
title
public static final ASN1ObjectIdentifier title
uid
public static final ASN1ObjectIdentifier uid
uniqueMember
public static final ASN1ObjectIdentifier uniqueMember
userPassword
public static final ASN1ObjectIdentifier userPassword
x121Address
public static final ASN1ObjectIdentifier x121Address
x500UniqueIdentifier
public static final ASN1ObjectIdentifier x500UniqueIdentifier
INSTANCE
public static final X500NameStyle INSTANCE
- Singleton instance.
defaultLookUp
protected final java.util.Hashtable defaultLookUp
defaultSymbols
protected final java.util.Hashtable defaultSymbols
RFC4519Style
protected RFC4519Style()
encodeStringValue
protected ASN1Encodable encodeStringValue(ASN1ObjectIdentifier oid,
java.lang.String value)
- Description copied from class:
AbstractX500NameStyle
- Encoded every value into a UTF8String.
Subclasses should overwrite
this method to change the encoding of specific types.
- Overrides:
encodeStringValue
in class AbstractX500NameStyle
- Following copied from class:
org.bouncycastle.asn1.x500.style.AbstractX500NameStyle
- Parameters:
oid
- the DN oid of the valuevalue
- the String representation of the value- Returns:
- a the value encoded into a ASN.1 object. Never returns null.
oidToDisplayName
public java.lang.String oidToDisplayName(ASN1ObjectIdentifier oid)
- Description copied from interface:
X500NameStyle
- Return the display name for toString() associated with the OID.
- Following copied from interface:
org.bouncycastle.asn1.x500.X500NameStyle
- Parameters:
oid
- the OID of interest.- Returns:
- the name displayed in toString(), null if no mapping provided.
oidToAttrNames
public java.lang.String[] oidToAttrNames(ASN1ObjectIdentifier oid)
- Description copied from interface:
X500NameStyle
- Return the acceptable names in a String DN that map to OID.
- Following copied from interface:
org.bouncycastle.asn1.x500.X500NameStyle
- Parameters:
oid
- the OID of interest.- Returns:
- an array of String aliases for the OID, zero length if there are none.
attrNameToOID
public ASN1ObjectIdentifier attrNameToOID(java.lang.String attrName)
- Description copied from interface:
X500NameStyle
- Return the OID associated with the passed in name.
- Following copied from interface:
org.bouncycastle.asn1.x500.X500NameStyle
- Parameters:
attrName
- the string to match.- Returns:
- an OID
fromString
public RDN[] fromString(java.lang.String dirName)
- Description copied from interface:
X500NameStyle
- Return an array of RDN generated from the passed in String.
- Following copied from interface:
org.bouncycastle.asn1.x500.X500NameStyle
- Parameters:
dirName
- the String representation.- Returns:
- an array of corresponding RDNs.
toString
public java.lang.String toString(X500Name name)
- Description copied from interface:
X500NameStyle
- Convert the passed in X500Name to a String.
- Following copied from interface:
org.bouncycastle.asn1.x500.X500NameStyle
- Parameters:
name
- the name to convert.- Returns:
- a String representation.