|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.CertifiedKeyPair
public class CertifiedKeyPair
Encapsulates a public key certificate and, optionally, an encrypted private key and/or publication information.
Constructor Summary | |
---|---|
CertifiedKeyPair(EncryptedValue encryptedCert) Create a new CertifiedKeyPair with the specified encrypted certificate. |
|
CertifiedKeyPair(EncryptedValue encryptedCert, EncryptedValue privKey) Create a new CertifiedKeyPair with the specified encrypted certificate and corresponding encrypted private key. |
|
CertifiedKeyPair(EncryptedValue encryptedCert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified encrypted certificate and corresponding encrypted private key and publication info. |
|
CertifiedKeyPair(EncryptedValue encryptedCert, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified encrypted certificate and corresponding publication information. |
|
CertifiedKeyPair(java.io.InputStream is) |
|
CertifiedKeyPair(java.security.cert.X509Certificate cert) Create a new CertifiedKeyPair with the specified certificate. |
|
CertifiedKeyPair(java.security.cert.X509Certificate cert, EncryptedValue privKey) Create a new CertifiedKeyPair with the specified certificate and corresponding encrypted private key. |
|
CertifiedKeyPair(java.security.cert.X509Certificate cert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified certificate and corresponding encrypted private key and publication info. |
|
CertifiedKeyPair(java.security.cert.X509Certificate cert, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified certificate and corresponding publication information. |
Method Summary | |
---|---|
java.security.cert.X509Certificate |
getCertificate() Get the (unencrypted) certificate. |
EncryptedValue |
getEncryptedCert() Get the encrypted certificate. |
EncryptedValue |
getPrivateKey() Get the encrypted private key. |
PKIPubInfoRegControl |
getPublicationInfo() Get the publication info associated with the certificate. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertifiedKeyPair(java.security.cert.X509Certificate cert) throws java.security.cert.CertificateEncodingException
CertifiedKeyPair
with the specified certificate.
Note the changes in the method signature
Previously public CertifiedKeyPair (X509)
Nowpublic CertifiedKeyPair (X509Certificate )
Note : CertificateEncodingException is introduced
java.security.cert.CertificateEncodingException
public CertifiedKeyPair(EncryptedValue encryptedCert)
CertifiedKeyPair
with the specified encrypted certificate.public CertifiedKeyPair(java.security.cert.X509Certificate cert, PKIPubInfoRegControl pubInfo) throws java.security.cert.CertificateEncodingException
CertifiedKeyPair
with the specified certificate and corresponding publication information.
Note the changes in the method signature
Previously public CertifiedKeyPair (X509 , PKIPubInfoRegControl)
Nowpublic CertifiedKeyPair (X509Certificate , PKIPubInfoRegControl)
Note : CertificateEncodingException is introduced
java.security.cert.CertificateEncodingException
public CertifiedKeyPair(EncryptedValue encryptedCert, PKIPubInfoRegControl pubInfo) throws java.security.cert.CertificateEncodingException
CertifiedKeyPair
with the specified encrypted certificate and corresponding publication information.
java.security.cert.CertificateEncodingException
public CertifiedKeyPair(java.security.cert.X509Certificate cert, EncryptedValue privKey) throws java.security.cert.CertificateEncodingException
CertifiedKeyPair
with the specified certificate and corresponding encrypted private key.
Note the changes in the method signature
Previously public CertifiedKeyPair (X509 , EncryptedValue)
Nowpublic CertifiedKeyPair (X509Certificate , EncryptedValue)
Note : CertificateEncodingException is introduced
java.security.cert.CertificateEncodingException
public CertifiedKeyPair(EncryptedValue encryptedCert, EncryptedValue privKey)
CertifiedKeyPair
with the specified encrypted certificate and corresponding encrypted private key.public CertifiedKeyPair(java.security.cert.X509Certificate cert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo) throws java.security.cert.CertificateEncodingException
CertifiedKeyPair
with the specified certificate and corresponding encrypted private key and publication info.
Note the changes in the method signature
Previously public CertifiedKeyPair (X509 , EncryptedValue, PKIPubInfoRegControl)
Nowpublic CertifiedKeyPair (X509Certificate , EncryptedValue, PKIPubInfoRegControl)
Note : CertificateEncodingException is introduced
java.security.cert.CertificateEncodingException
public CertifiedKeyPair(EncryptedValue encryptedCert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo)
CertifiedKeyPair
with the specified encrypted certificate and corresponding encrypted private key and publication info.public CertifiedKeyPair(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.security.cert.X509Certificate getCertificate()
X509Certificate
, otherwise null
. Note : a java.security.X509Certificate is returnedpublic EncryptedValue getEncryptedCert()
null
.public EncryptedValue getPrivateKey()
null
.public PKIPubInfoRegControl getPublicationInfo()
PKIPublicationInfo
, otherwise null
.public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable
|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |