|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.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(oracle.security.crypto.cert.X509 cert) Create a new CertifiedKeyPair with the specified certificate. |
|
CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, EncryptedValue privKey) Create a new CertifiedKeyPair with the specified certificate and corresponding encrypted private key. |
|
CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified certificate and corresponding encrypted private key and publication info. |
|
CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, PKIPubInfoRegControl pubInfo) Create a new CertifiedKeyPair with the specified certificate and corresponding publication information. |
Method Summary | |
oracle.security.crypto.cert.X509 |
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(oracle.security.crypto.cert.X509 cert)
CertifiedKeyPair
with the specified certificate.public CertifiedKeyPair(EncryptedValue encryptedCert)
CertifiedKeyPair
with the specified encrypted certificate.public CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, PKIPubInfoRegControl pubInfo)
CertifiedKeyPair
with the specified certificate and corresponding publication information.public CertifiedKeyPair(EncryptedValue encryptedCert, PKIPubInfoRegControl pubInfo)
CertifiedKeyPair
with the specified encrypted certificate and corresponding publication information.public CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, EncryptedValue privKey)
CertifiedKeyPair
with the specified certificate and corresponding encrypted private key.public CertifiedKeyPair(EncryptedValue encryptedCert, EncryptedValue privKey)
CertifiedKeyPair
with the specified encrypted certificate and corresponding encrypted private key.public CertifiedKeyPair(oracle.security.crypto.cert.X509 cert, EncryptedValue privKey, PKIPubInfoRegControl pubInfo)
CertifiedKeyPair
with the specified certificate and corresponding encrypted private key and publication info.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
Method Detail |
public oracle.security.crypto.cert.X509 getCertificate()
X509
, otherwise null
.public EncryptedValue getEncryptedCert()
null
.public EncryptedValue getPrivateKey()
null
.public PKIPubInfoRegControl getPublicationInfo()
PKIPublicationInfo
, otherwise null
.public java.lang.String toString()
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 Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |