public class CRLExtensions extends java.util.Vector<Extension>
| Constructor and Description |
|---|
CRLExtensions()
Default constructor.
|
CRLExtensions(DerInputStream in)
Create the object, decoding the values from the passed DER stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(java.io.InputStream in)
Decode the extensions from the InputStream.
|
void |
encode(java.io.OutputStream out,
boolean isExplicit)
Encode the extensions in DER form to the stream.
|
boolean |
equals(java.lang.Object obj) |
Extension |
get(java.lang.String alias)
Get the extension with this alias.
|
java.util.Enumeration<Extension> |
getElements()
Return an enumeration of names of the extensions.
|
int |
hashCode() |
void |
set(java.lang.String alias,
Extension obj)
Set the extension value with this alias.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic CRLExtensions()
public CRLExtensions(DerInputStream in) throws java.security.cert.CRLException, X509ExtensionException
in - the DerInputStream to read the Extension from.java.security.cert.CRLException - on decoding errors.X509ExtensionException - on extension handling errors.public void decode(java.io.InputStream in)
throws java.security.cert.CRLException,
X509ExtensionException
in - the InputStream to unmarshal the contents from.java.security.cert.CRLException - on decoding or validity errors.X509ExtensionException - on extension handling errors.public void encode(java.io.OutputStream out,
boolean isExplicit)
throws java.security.cert.CRLException
out - the DerOutputStream to marshal the contents to.isExplicit - the tag indicating whether this is an entry
extension or a CRL extension.java.security.cert.CRLException - on encoding errors.public Extension get(java.lang.String alias) throws X509ExtensionException
alias - the identifier string for the extension to retrieve.X509ExtensionException - on extension handling errors.public void set(java.lang.String alias,
Extension obj)
throws java.io.IOException
alias - the identifier string for the extension to set.obj - the Object to set the extension identified by the
alias.java.io.IOException - on errors.public java.util.Enumeration<Extension> getElements()
public int hashCode()