Class ExtensionsRequested
java.lang.Object
org.mozilla.jss.netscape.security.x509.ExtensionsRequested
- All Implemented Interfaces:
CertAttrSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(InputStream in) Decodes the attribute in the input stream.voidDeletes an attribute value from this CertAttrSet.voidencode(OutputStream out) Encodes the attribute to the output stream in a format that can be parsed by thedecodemethod.Gets an attribute value for this CertAttrSet.Returns an enumeration of the names of the attributes existing within this attribute.getName()Returns the name (identifier) of this CertAttrSet.voidSets an attribute value within this CertAttrSet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mozilla.jss.netscape.security.x509.CertAttrSet
toString
-
Field Details
-
NAME
- See Also:
-
KUE_DIGITAL_SIGNATURE
- See Also:
-
KUE_KEY_ENCIPHERMENT
- See Also:
-
-
Constructor Details
-
ExtensionsRequested
- Throws:
IOException
-
-
Method Details
-
encode
Description copied from interface:CertAttrSetEncodes the attribute to the output stream in a format that can be parsed by thedecodemethod.- Specified by:
encodein interfaceCertAttrSet- Parameters:
out- the OutputStream to encode the attribute to.- Throws:
CertificateException- on encoding or validity errors.IOException- on other errors.
-
decode
Description copied from interface:CertAttrSetDecodes the attribute in the input stream.- Specified by:
decodein interfaceCertAttrSet- Parameters:
in- the InputStream to read the encoded attribute from.- Throws:
CertificateException- on decoding or validity errors.IOException- on other errors.
-
set
Description copied from interface:CertAttrSetSets an attribute value within this CertAttrSet.- Specified by:
setin interfaceCertAttrSet- Parameters:
name- the name of the attribute (e.g. "x509.info.key")obj- the attribute object.- Throws:
CertificateException- on attribute handling errors.IOException- on other errors.
-
get
Description copied from interface:CertAttrSetGets an attribute value for this CertAttrSet.- Specified by:
getin interfaceCertAttrSet- Parameters:
name- the name of the attribute to return.- Returns:
- attribute value
- Throws:
CertificateException- on attribute handling errors.IOException- on other errors.
-
delete
Description copied from interface:CertAttrSetDeletes an attribute value from this CertAttrSet.- Specified by:
deletein interfaceCertAttrSet- Parameters:
name- the name of the attribute to delete.- Throws:
CertificateException- on attribute handling errors.IOException- on other errors.
-
getAttributeNames
Description copied from interface:CertAttrSetReturns an enumeration of the names of the attributes existing within this attribute.- Specified by:
getAttributeNamesin interfaceCertAttrSet- Returns:
- an enumeration of the attribute names.
-
getName
Description copied from interface:CertAttrSetReturns the name (identifier) of this CertAttrSet.- Specified by:
getNamein interfaceCertAttrSet- Returns:
- the name of this CertAttrSet.
-
getExtensions
-