|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.X509Extension
oracle.security.crypto.cert.ext.SubjectAltNameExtension
Represents the certificate extension Subject Alternative Name from RFC 2459. This extension is critical for conforming CAs if the certificate subject name is empty.
Field Summary |
Fields inherited from class oracle.security.crypto.cert.X509Extension |
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded |
Constructor Summary | |
SubjectAltNameExtension() Create a new extension with the appropriate OID type. |
|
SubjectAltNameExtension(GeneralName subjAltName) Creates a new extension with the specified alternative name. |
|
SubjectAltNameExtension(GeneralName subjAltName, boolean critical) Creates a new extension with the specified alternative name. |
|
SubjectAltNameExtension(java.io.InputStream is) |
|
SubjectAltNameExtension(java.util.Vector subjAltName) Creates a new extension with the specified alternative name. |
|
SubjectAltNameExtension(java.util.Vector subjAltName, boolean critical) Creates a new extension with the specified alternative name. |
Method Summary | |
void |
addSubjectAltName(GeneralName name) |
java.util.Enumeration |
subjectAltName() Gets the subject alternative name of this extension. |
java.lang.String |
toString() Returns a string representation of this object. |
Methods inherited from class oracle.security.crypto.cert.X509Extension |
getASN1Value, getCritical, getID, getType, getValue, input, input, inputInstance, isRecognized, length, output, setCritical, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SubjectAltNameExtension()
Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream)
method.
public SubjectAltNameExtension(GeneralName subjAltName)
subjAltName
- The subject alternative name.public SubjectAltNameExtension(GeneralName subjAltName, boolean critical)
subjAltName
- The subject alternative name.critical
- true
if this extension is critical, false
otherwise.public SubjectAltNameExtension(java.util.Vector subjAltName)
subjAltName
- A Vector
of GeneralName
s for the subject alternative name.public SubjectAltNameExtension(java.util.Vector subjAltName, boolean critical)
subjAltName
- A Vector
of GeneralName
s for the subject alternative name.critical
- true
if this extension is critical, false
otherwise.public SubjectAltNameExtension(java.io.InputStream is) throws java.io.IOException
Method Detail |
public java.util.Enumeration subjectAltName()
Enumeration
of GeneralName
s representing the subject alternative name.public void addSubjectAltName(GeneralName name)
public java.lang.String toString()
X509Extension
toString
in class X509Extension
|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |