Top Description Constructors Methods
org.bouncycastle.asn1.x509

public Class X509DefaultEntryConverter

extends X509NameEntryConverter
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1ObjectIdentifier, .ASN1Primitive, .DERGeneralizedTime, .DERIA5String, .DERPrintableString, .DERUTF8String, org.bouncycastle.asn1.x500.style.BCStyle

The default converter for X509 DN entries when going from their string value to ASN.1 strings.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ASN1Primitive

Returns:

the ASN.1 equivalent for the string value.
getConvertedValue
(ASN1ObjectIdentifier
the object identifier for the DN entry
oid
,
String
the value associated with it
value
)

Implements abstract org.bouncycastle.asn1.x509.X509NameEntryConverter.getConvertedValue.

Apply default coversion for the given value depending on the oid and the character range of the value.

Inherited from org.bouncycastle.asn1.x509.X509NameEntryConverter:
canBePrintableconvertHexEncoded

Constructor Detail

X509DefaultEntryConverterback to summary
public X509DefaultEntryConverter()

Method Detail

getConvertedValueback to summary
public ASN1Primitive getConvertedValue(ASN1ObjectIdentifier oid, String value)

Implements abstract org.bouncycastle.asn1.x509.X509NameEntryConverter.getConvertedValue.

Apply default coversion for the given value depending on the oid and the character range of the value.

Parameters
oid:ASN1ObjectIdentifier

the object identifier for the DN entry

value:String

the value associated with it

Returns:ASN1Primitive

the ASN.1 equivalent for the string value.