|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.keys.RawX509Cert
public class RawX509Cert
Wrapper for a binary X.509 certificate.
Note: Instances of this class do not represent XML elments within the XML-DSIG schema, and do not extend {link XMLElement}.
Constructor Summary | |
---|---|
RawX509Cert(byte[] certBytes) Creates a new instance of RawX509Cert from the given ASN.1 DER encoded certificate bytes. |
|
RawX509Cert(java.io.InputStream is) Creates a new instance of RawX509Cert from the ASN.1 DER encoded certificate bytes read from the given input stream. |
Method Summary | |
---|---|
java.security.cert.X509Certificate |
getCertificate() Returns a oracle.security.crypto.cert.X509Certificate certificate instance. |
java.lang.String |
getType() Returns the type URI that identifies the specific KeyInfoData subclass. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawX509Cert(java.io.InputStream is) throws java.io.IOException
RawX509Cert
from the ASN.1 DER encoded certificate bytes read from the given input stream.
is
- An input stream containing the bytes of an ASN.1 DER encoded X.509 certificate.java.io.IOException
public RawX509Cert(byte[] certBytes) throws java.io.IOException
RawX509Cert
from the given ASN.1 DER encoded certificate bytes.
certBytes
- The bytes of an ASN.1 DER encoded X.509 certificate.java.io.IOException
Method Detail |
---|
public java.security.cert.X509Certificate getCertificate() throws java.io.IOException
oracle.security.crypto.cert.X509Certificate
certificate instance.oracle.security.crypto.cert.X509Certificate
certificate instance.java.io.IOException
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 Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |