| java.lang.Object sun.security.x509.CertificateX509Key
CertificateX509Key | public class CertificateX509Key implements CertAttrSet(Code) | | This class defines the X509Key attribute for the Certificate.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.10 See Also: CertAttrSet |
Field Summary | |
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 | KEY | 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.
|
CertificateX509Key | public CertificateX509Key(PublicKey key)(Code) | | Default constructor for the certificate attribute.
Parameters: key - the X509Key |
CertificateX509Key | public CertificateX509Key(DerInputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: in - the DerInputStream to read the X509Key from. exception: IOException - on decoding errors. |
CertificateX509Key | public CertificateX509Key(InputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed stream.
Parameters: in - the InputStream to read the X509Key from. exception: IOException - on decoding errors. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the key in DER form from the stream.
Parameters: in - the InputStream to unmarshal the contents from exception: IOException - on decoding or validity errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Encode the key in DER form to the stream.
Parameters: out - the OutputStream 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 key as printable string.
|
|
|