| java.lang.Object sun.security.x509.CertificateSubjectName
CertificateSubjectName | public class CertificateSubjectName implements CertAttrSet(Code) | | This class defines the X500Name attribute for the Certificate.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.10 See Also: CertAttrSet |
Field Summary | |
final public static String | DN_NAME | final public static String | DN_PRINCIPAL | final public static String | IDENT Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type. | final public static String | NAME Sub attributes name for this CertAttrSet. |
IDENT | final public static String IDENT(Code) | | Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type.
|
NAME | final public static String NAME(Code) | | Sub attributes name for this CertAttrSet.
|
CertificateSubjectName | public CertificateSubjectName(X500Name name)(Code) | | Default constructor for the certificate attribute.
Parameters: name - the X500Name |
CertificateSubjectName | public CertificateSubjectName(DerInputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: in - the DerInputStream to read the X500Name from. exception: IOException - on decoding errors. |
CertificateSubjectName | public CertificateSubjectName(InputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed stream.
Parameters: in - the InputStream to read the X500Name from. exception: IOException - on decoding errors. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the name in DER form from the stream.
Parameters: in - the InputStream to marshal the contents from. exception: IOException - on errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Encode the name in DER form to the stream.
Parameters: out - the DerOutputStream to marshal the contents to. exception: IOException - on errors. |
getElements | public Enumeration getElements()(Code) | | Return an enumeration of names of attributes existing within this
attribute.
|
getName | public String getName()(Code) | | Return the name of this attribute.
|
toString | public String toString()(Code) | | Return the name as user readable string.
|
|
|