Package 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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
protected final Hashtable
protected final Hashtable
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final X500NameStyle
Singleton instance.static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattrNameToOID
(String attrName) Return the OID associated with the passed in name.protected ASN1Encodable
encodeStringValue
(ASN1ObjectIdentifier oid, String value) Encoded every value into a UTF8String.RDN[]
fromString
(String dirName) Return an array of RDN generated from the passed in String.String[]
Return the acceptable names in a String DN that map to OID.Return the display name for toString() associated with the OID.Convert the passed in X500Name to a String.Methods inherited from class org.bouncycastle.asn1.x500.style.AbstractX500NameStyle
areEqual, calculateHashCode, copyHashTable, rdnAreEqual, stringToValue
-
Field Details
-
businessCategory
-
c
-
cn
-
dc
-
description
-
destinationIndicator
-
distinguishedName
-
dnQualifier
-
enhancedSearchGuide
-
facsimileTelephoneNumber
-
generationQualifier
-
givenName
-
houseIdentifier
-
initials
-
internationalISDNNumber
-
l
-
member
-
name
-
o
-
ou
-
owner
-
physicalDeliveryOfficeName
-
postalAddress
-
postalCode
-
postOfficeBox
-
preferredDeliveryMethod
-
registeredAddress
-
roleOccupant
-
searchGuide
-
seeAlso
-
serialNumber
-
sn
-
st
-
street
-
telephoneNumber
-
teletexTerminalIdentifier
-
telexNumber
-
title
-
uid
-
uniqueMember
-
userPassword
-
x121Address
-
x500UniqueIdentifier
-
INSTANCE
Singleton instance. -
defaultLookUp
-
defaultSymbols
-
-
Constructor Details
-
RFC4519Style
protected RFC4519Style()
-
-
Method Details
-
encodeStringValue
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 classAbstractX500NameStyle
- 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
Description copied from interface:X500NameStyle
Return the display name for toString() associated with the OID.- Parameters:
oid
- the OID of interest.- Returns:
- the name displayed in toString(), null if no mapping provided.
-
oidToAttrNames
Description copied from interface:X500NameStyle
Return the acceptable names in a String DN that map to OID.- Parameters:
oid
- the OID of interest.- Returns:
- an array of String aliases for the OID, zero length if there are none.
-
attrNameToOID
Description copied from interface:X500NameStyle
Return the OID associated with the passed in name.- Parameters:
attrName
- the string to match.- Returns:
- an OID
-
fromString
Description copied from interface:X500NameStyle
Return an array of RDN generated from the passed in String.- Parameters:
dirName
- the String representation.- Returns:
- an array of corresponding RDNs.
-
toString
Description copied from interface:X500NameStyle
Convert the passed in X500Name to a String.- Parameters:
name
- the name to convert.- Returns:
- a String representation.
-