|
Oracle Security Developer Tools XML Security Java API Reference 10g (10.1.4.0.1) B28178-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.keys.X509Data
XML-DSIG X509Data element.
Field Summary |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
X509Data(org.w3c.dom.Element element) Creates a new X509Data instance from the given Element node. |
|
X509Data(org.w3c.dom.Element element, java.lang.String systemId) Creates a new X509Data instance from the given Element node. |
Method Summary | |
void |
addCertificate(oracle.security.crypto.cert.X509 cert) Adds a X.509v3 certificate as a X509Certificate element. |
void |
addCRL(oracle.security.crypto.cert.CRL crl) Adds a X.509v3 certificate revocation list as a X509CRL element. |
void |
addIssuerSerial(oracle.security.crypto.cert.IssuerAndSerialNo issuerSerial) Adds a certificate issuer and serial number as a X509IssuerSerial element. |
void |
addSubjectKeyID(byte[] subjectKeyID) Adds the value of a X.509v3 certificate subject key ID extension as a X509SKI element. |
void |
addSubjectName(oracle.security.crypto.cert.X500Name subjectName) Adds a certificate subject name as a X509SubjectName element. |
java.util.Vector |
getCertificates() Returns a list of the contents of any X509Certificate elements in this X509Data. |
java.util.Vector |
getCRLs() Returns a list of the contents of any X509CRL elements in this X509Data. |
java.util.Vector |
getIssuerSerials() Returns a list of the contents of any X509IssuerSerial elements in this X509Data. |
java.util.Vector |
getSubjectKeyIDs() Returns a list of the contents of any X509SKI elements in this X509Data. |
java.util.Vector |
getSubjectNames() Returns a list of the contents of any X509SubjectName elements in this X509Data. |
java.lang.String |
getType() Returns the type URI that identifies the specific KeyInfoData subclass. |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public X509Data(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
X509Data
instance from the given Element node.element
- An Element node in the XML document that conforms to the XML-DSIG X509Data schema.public X509Data(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
X509Data
instance from the given Element node.element
- An Element node in the XML document that conforms to the XML-DSIG X509Data schema.systemId
- The URI string system ID for this element.XMLNode.setSystemId(java.lang.String)
Method Detail |
public void addIssuerSerial(oracle.security.crypto.cert.IssuerAndSerialNo issuerSerial) throws org.w3c.dom.DOMException
issuerSerial
- A oracle.security.crypto.cert.IssuerAndSerialNo
containing the certificate issuer's distinguished name and the certificate's serial number.org.w3c.dom.DOMException
public java.util.Vector getIssuerSerials()
java.util.Vector
containing oracle.security.crypto.cert.IssuerAndSerialNo
s.public void addSubjectName(oracle.security.crypto.cert.X500Name subjectName) throws org.w3c.dom.DOMException
subjectName
- A oracle.security.crypto.cert.X500Name
containing the certificate subject's distinguished name.org.w3c.dom.DOMException
public java.util.Vector getSubjectNames()
java.util.Vector
containing oracle.security.crypto.cert.X500Name
s.public void addSubjectKeyID(byte[] subjectKeyID) throws org.w3c.dom.DOMException
subjectKeyID
- A byte[] containing the value of the certificate's subject key ID extension.org.w3c.dom.DOMException
public java.util.Vector getSubjectKeyIDs()
java.util.Vector
of byte arrays containing the value of X.509v3 subject key ID extensions.public void addCertificate(oracle.security.crypto.cert.X509 cert) throws org.w3c.dom.DOMException
cert
- A oracle.security.crypto.cert.X509
object.org.w3c.dom.DOMException
public java.util.Vector getCertificates() throws java.io.IOException
java.util.Vector
containing oracle.security.crypto.cert.X509
s.java.io.IOException
- If a oracle.security.crypto.cert.X509
cannot be instantiated from the bytes contained in a X509Certificate element.public void addCRL(oracle.security.crypto.cert.CRL crl) throws org.w3c.dom.DOMException
crl
- A oracle.security.crypto.cert.CRL
object.org.w3c.dom.DOMException
public java.util.Vector getCRLs() throws java.io.IOException
java.util.Vector
containing oracle.security.crypto.cert.CRL
s.java.io.IOException
- If a oracle.security.crypto.cert.CRL
cannot be instantiated from the bytes contained in a X509CRL element.public java.lang.String getType()
KeyInfoData
Interface XMLURI
contains the KeyInfo data type URIs defined in the XML Signature and XML Encryption namespaces, including:
XMLURI.obj_DHKeyValue
XMLURI.obj_DSAKeyValue
XMLURI.obj_EncryptedKey
XMLURI.obj_KeyName
XMLURI.obj_MgmtData
XMLURI.obj_PGPData
XMLURI.obj_rawX509Certificate
XMLURI.obj_RetrievalMethod
XMLURI.obj_RSAKeyValue
XMLURI.obj_SPKIData
XMLURI.obj_X509Data
getType
in interface KeyInfoData
|
Oracle Security Developer Tools XML Security Java API Reference 10g (10.1.4.0.1) B28178-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |