Class X509DefaultEntryConverter


  • public class X509DefaultEntryConverter
    extends X509NameEntryConverter
    The default converter for X509 DN entries when going from their string value to ASN.1 strings.
    • Constructor Detail

      • X509DefaultEntryConverter

        public X509DefaultEntryConverter()
    • 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 class 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.