Package org.bouncycastle.asn1.x509
Class X509DefaultEntryConverter
- java.lang.Object
-
- org.bouncycastle.asn1.x509.X509NameEntryConverter
-
- org.bouncycastle.asn1.x509.X509DefaultEntryConverter
-
public class X509DefaultEntryConverter extends X509NameEntryConverter
The default converter for X509 DN entries when going from their string value to ASN.1 strings.
-
-
Constructor Summary
Constructors Constructor Description X509DefaultEntryConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1Primitive
getConvertedValue(ASN1ObjectIdentifier oid, java.lang.String value)
Apply default coversion for the given value depending on the oid and the character range of the value.-
Methods inherited from class org.bouncycastle.asn1.x509.X509NameEntryConverter
canBePrintable, convertHexEncoded
-
-
-
-
Method Detail
-
getConvertedValue
public ASN1Primitive getConvertedValue(ASN1ObjectIdentifier oid, java.lang.String value)
Apply default coversion for the given value depending on the oid and the character range of the value.- Specified by:
getConvertedValue
in classX509NameEntryConverter
- Parameters:
oid
- the object identifier for the DN entryvalue
- the value associated with it- Returns:
- the ASN.1 equivalent for the string value.
-
-