Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


oracle.security.xmlsec.keys
Class RawX509Cert

java.lang.Object
  extended by oracle.security.xmlsec.keys.RawX509Cert

All Implemented Interfaces:
KeyInfoData

public class RawX509Cert
extends java.lang.Object
implements KeyInfoData

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

RawX509Cert

public RawX509Cert(java.io.InputStream is)
            throws java.io.IOException
Creates a new instance of RawX509Cert from the ASN.1 DER encoded certificate bytes read from the given input stream.
Parameters:
is - An input stream containing the bytes of an ASN.1 DER encoded X.509 certificate.
Throws:
java.io.IOException

RawX509Cert

public RawX509Cert(byte[] certBytes)
            throws java.io.IOException
Creates a new instance of RawX509Cert from the given ASN.1 DER encoded certificate bytes.
Parameters:
certBytes - The bytes of an ASN.1 DER encoded X.509 certificate.
Throws:
java.io.IOException

Method Detail

getCertificate

public java.security.cert.X509Certificate getCertificate()
                                                  throws java.io.IOException
Returns a oracle.security.crypto.cert.X509Certificate certificate instance.
Returns:
A oracle.security.crypto.cert.X509Certificate certificate instance.
Throws:
java.io.IOException

getType

public java.lang.String getType()
Description copied from interface: KeyInfoData
Returns the type URI that identifies the specific KeyInfoData subclass.

Interface XMLURI contains the KeyInfo data type URIs defined in the XML Signature and XML Encryption namespaces, including:

Specified by:
getType in interface KeyInfoData

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


Copyright © 2005, 2013 , Oracle. All rights reserved.