Class BCStyle

    • Constructor Detail

    • Method Detail

      • oidToDisplayName

         String oidToDisplayName(ASN1ObjectIdentifier oid)

        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

         Array<String> oidToAttrNames(ASN1ObjectIdentifier oid)

        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.

      • fromString

         Array<RDN> fromString(String dirName)

        Return an array of RDN generated from the passed in String.

        Parameters:
        dirName - the String representation.
        Returns:

        an array of corresponding RDNs.

      • toString

         String toString(X500Name name)

        Convert the passed in X500Name to a String.

        Parameters:
        name - the name to convert.
        Returns:

        a String representation.