org.bouncycastle.asn1.x509

Class X509DefaultEntryConverter


public class X509DefaultEntryConverter
extends X509NameEntryConverter

The default converter for X509 DN entries when going from their string value to

Method Summary

DERObject
getConvertedValue(DERObjectIdentifier oid, 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, canBeUTF8, convertHexEncoded, getConvertedValue

Method Details

getConvertedValue

public DERObject getConvertedValue(DERObjectIdentifier oid,
                                   String value)
Apply default coversion for the given value depending on the oid and the character range of the value.
Overrides:
getConvertedValue in interface X509NameEntryConverter
Parameters:
oid - the object identifier for the DN entry
value - the value associated with it
Returns:
the ASN.1 equivalent for the string value.