public class ExtensionsRequested
extends java.lang.Object
implements netscape.security.x509.CertAttrSet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KUE_DIGITAL_SIGNATURE |
static java.lang.String |
KUE_KEY_ENCIPHERMENT |
static java.lang.String |
NAME |
| Constructor and Description |
|---|
ExtensionsRequested(java.lang.Object stuff) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(java.io.InputStream in)
Decodes the attribute in the input stream.
|
void |
delete(java.lang.String name)
Deletes an attribute value from this CertAttrSet.
|
void |
encode(java.io.OutputStream out)
Encodes the attribute to the output stream in a format
that can be parsed by the
decode method. |
java.lang.Object |
get(java.lang.String name)
Gets an attribute value for this CertAttrSet.
|
java.util.Enumeration<java.lang.String> |
getAttributeNames()
Returns an enumeration of the names of the attributes existing within
this attribute.
|
java.util.Vector<netscape.security.x509.Extension> |
getExtensions() |
java.lang.String |
getName()
Returns the name (identifier) of this CertAttrSet.
|
void |
set(java.lang.String name,
java.lang.Object obj)
Sets an attribute value within this CertAttrSet.
|
public static final java.lang.String NAME
public static final java.lang.String KUE_DIGITAL_SIGNATURE
public static final java.lang.String KUE_KEY_ENCIPHERMENT
public ExtensionsRequested(java.lang.Object stuff)
throws java.io.IOException
java.io.IOExceptionpublic void encode(java.io.OutputStream out)
throws java.security.cert.CertificateException,
java.io.IOException
netscape.security.x509.CertAttrSetdecode method.encode in interface netscape.security.x509.CertAttrSetout - the OutputStream to encode the attribute to.java.security.cert.CertificateException - on encoding or validity errors.java.io.IOException - on other errors.public void decode(java.io.InputStream in)
throws java.security.cert.CertificateException,
java.io.IOException
netscape.security.x509.CertAttrSetdecode in interface netscape.security.x509.CertAttrSetin - the InputStream to read the encoded attribute from.java.security.cert.CertificateException - on decoding or validity errors.java.io.IOException - on other errors.public void set(java.lang.String name,
java.lang.Object obj)
throws java.security.cert.CertificateException,
java.io.IOException
netscape.security.x509.CertAttrSetset in interface netscape.security.x509.CertAttrSetname - the name of the attribute (e.g. "x509.info.key")obj - the attribute object.java.security.cert.CertificateException - on attribute handling errors.java.io.IOException - on other errors.public java.lang.Object get(java.lang.String name)
throws java.security.cert.CertificateException,
java.io.IOException
netscape.security.x509.CertAttrSetget in interface netscape.security.x509.CertAttrSetname - the name of the attribute to return.java.security.cert.CertificateException - on attribute handling errors.java.io.IOException - on other errors.public void delete(java.lang.String name)
throws java.security.cert.CertificateException,
java.io.IOException
netscape.security.x509.CertAttrSetdelete in interface netscape.security.x509.CertAttrSetname - the name of the attribute to delete.java.security.cert.CertificateException - on attribute handling errors.java.io.IOException - on other errors.public java.util.Enumeration<java.lang.String> getAttributeNames()
netscape.security.x509.CertAttrSetgetAttributeNames in interface netscape.security.x509.CertAttrSetpublic java.lang.String getName()
netscape.security.x509.CertAttrSetgetName in interface netscape.security.x509.CertAttrSetpublic java.util.Vector<netscape.security.x509.Extension> getExtensions()