All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.CertificateIssuerName

netscape.security.x509.CertificateIssuerName

public class CertificateIssuerName
implements CertAttrSet
This class defines the X500Name attribute for the Certificate.

See Also:
CertAttrSet

Variable Index

 o DN_NAME
 o IDENT
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
 o NAME
Sub attributes name for this CertAttrSet.

Constructor Index

 o CertificateIssuerName(DerInputStream)
Create the object, decoding the values from the passed DER stream.
 o CertificateIssuerName(InputStream)
Create the object, decoding the values from the passed stream.
 o CertificateIssuerName(X500Name)
Default constructor for the certificate attribute.

Method Index

 o decode(InputStream)
Decode the name in DER form from the stream.
 o delete(String)
Delete the attribute value.
 o encode(OutputStream)
Encode the name in DER form to the stream.
 o get(String)
Get the attribute value.
 o getElements()
Return an enumeration of names of attributes existing within this attribute.
 o getName()
Return the name of this attribute.
 o set(String, Object)
Set the attribute value.
 o toString()
Return the name as user readable string.

Variables

 o IDENT
 public static final String IDENT
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.

 o NAME
 public static final String NAME
Sub attributes name for this CertAttrSet.

 o DN_NAME
 public static final String DN_NAME

Constructors

 o CertificateIssuerName
 public CertificateIssuerName(X500Name name)
Default constructor for the certificate attribute.

Parameters:
name - the X500Name
 o CertificateIssuerName
 public CertificateIssuerName(DerInputStream in) throws IOException
Create the object, decoding the values from the passed DER stream.

Parameters:
in - the DerInputStream to read the X500Name from.
Throws: IOException
on decoding errors.
 o CertificateIssuerName
 public CertificateIssuerName(InputStream in) throws IOException
Create the object, decoding the values from the passed stream.

Parameters:
in - the InputStream to read the X500Name from.
Throws: IOException
on decoding errors.

Methods

 o toString
 public String toString()
Return the name as user readable string.

 o encode
 public void encode(OutputStream out) throws IOException
Encode the name in DER form to the stream.

Parameters:
out - the DerOutputStream to marshal the contents to.
Throws: IOException
on errors.
 o decode
 public void decode(InputStream in) throws IOException
Decode the name in DER form from the stream.

Parameters:
in - the InputStream to marshal the contents from.
Throws: IOException
on errors.
 o set
 public void set(String name,
                 Object obj) throws IOException
Set the attribute value.

 o get
 public Object get(String name) throws IOException
Get the attribute value.

 o delete
 public void delete(String name) throws IOException
Delete the attribute value.

 o getElements
 public Enumeration getElements()
Return an enumeration of names of attributes existing within this attribute.

 o getName
 public String getName()
Return the name of this attribute.


All Packages  Class Hierarchy  This Package  Previous  Next  Index