| java.lang.Object com.sun.satsa.pki.RFC2253Name
RFC2253Name | public class RFC2253Name (Code) | | This class provides support for distinguished name formatted
according to RFC 2253.
|
Method Summary | |
public static String | NameToString(TLV name) Returns string representation for parsed RFC2253 name. | public static boolean | compare(TLV name1, TLV name2) Compares two names in TLV form. | public static byte[] | toDER(String name) This method converts distinguished name from string to DER
encoding. | public static TLV | toTLV(String name) This method converts distinguished name from string to TLV object. |
NameToString | public static String NameToString(TLV name)(Code) | | Returns string representation for parsed RFC2253 name.
Parameters: name - the name string representation of the name or null in case of error |
compare | public static boolean compare(TLV name1, TLV name2)(Code) | | Compares two names in TLV form.
Parameters: name1 - the 1st name Parameters: name2 - the 2nd name true if the names are equal exception: IllegalArgumentException - in case of any error |
toDER | public static byte[] toDER(String name)(Code) | | This method converts distinguished name from string to DER
encoding.
Parameters: name - distinguished name DER encoded name throws: IllegalArgumentException - on any error. |
toTLV | public static TLV toTLV(String name)(Code) | | This method converts distinguished name from string to TLV object.
Parameters: name - distinguished name DER encoded name throws: IllegalArgumentException - on any error. |
|
|