| 
 | Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.security.crypto.cert.X509ExtensionSet
oracle.security.crypto.cert.X509ExtensionSet
A list of X.509 Extensions, as defined in RFC 2459.
The list has hashtable semantics in that at most one extension of a given type may be defined at any given time, but has vector semantics in that order of input is preserved.
X509Extension| Constructor Summary | |
| X509ExtensionSet()Create a new, empty X509ExtensionSet. | |
| X509ExtensionSet(java.io.InputStream is)Create a new X509ExtensionSetfrom the given input stream. | |
| X509ExtensionSet(java.util.Vector exts)Create a new X509ExtensionSetcontaining theX509Extensionss in the given vector. | |
| Method Summary | |
| X509Extension | addExtension(X509Extension ext)Add an extension to this extension set. | 
| X509Extension | getExtension(ASN1ObjectID type)Returns the extension with the given type. | 
| java.util.Vector | getExtensions()Returns a vector of all the extensions contained in this X509ExtensionSet. | 
| boolean | hasExtension(ASN1ObjectID type)Returns trueif thisX509ExtensionSetcontains an extension of the given type, otherwise returnsfalse. | 
| boolean | hasUnrecognizedCriticalExtension()Returns trueif thisX509ExtensionSetcontains a critical extension that is not recognized by this implementation. | 
| void | input(java.io.InputStream is) | 
| int | length()Returns the length in bytes of the ASN.1 representation of this X509ExtensionSet. | 
| void | output(java.io.OutputStream os) | 
| int | size()Returns the number of extensions in this X509ExtensionSet. | 
| java.lang.String | toString() | 
| java.util.Enumeration | types()Returns an enumeration of the types of all the extensions contained in this X509ExtensionSet. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public X509ExtensionSet()
X509ExtensionSet.public X509ExtensionSet(java.util.Vector exts)
X509ExtensionSet containing the X509Extensionss in the given vector.
public X509ExtensionSet(java.io.InputStream is)
                 throws java.io.IOException
X509ExtensionSet from the given input stream.| Method Detail | 
public X509Extension addExtension(X509Extension ext)
ext - the X509Extension to add.public X509Extension getExtension(ASN1ObjectID type)
type - an OID specifying the extension.null if not present in this set.public java.util.Enumeration types()
X509ExtensionSet.Enumeration of ASN1ObjectID.public java.util.Vector getExtensions()
X509ExtensionSet.Vector of X509Extension.public int size()
X509ExtensionSet.public boolean hasExtension(ASN1ObjectID type)
true if this X509ExtensionSet contains an extension of the given type, otherwise returns false.type - the OID of the extension.public boolean hasUnrecognizedCriticalExtension()
true if this X509ExtensionSet contains a critical extension that is not recognized by this implementation.public java.lang.String toString()
public void input(java.io.InputStream is)
           throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os)
            throws java.io.IOException
java.io.IOExceptionpublic int length()
X509ExtensionSet.| 
 | Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||