|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.ProofOfPossession
oracle.security.crypto.cmp.KeyEnciphermentPOP
public class KeyEnciphermentPOP
CRMF proof-of-possession value for key encipherment keys.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.security.crypto.cmp.ProofOfPossession |
---|
ProofOfPossession.SubsequentMsg, ProofOfPossession.Type |
Constructor Summary | |
---|---|
KeyEnciphermentPOP(EncryptedValue encryptedKey) Create a new KeyEnciphermentPOP where proof-of-possession is achieved in this message by including the encrypted private key. |
|
KeyEnciphermentPOP(java.io.InputStream is) |
|
KeyEnciphermentPOP(ProofOfPossession.SubsequentMsg subsequentMsg) Create a new KeyEnciphermentPOP where proof-of-possession will be achieved in a subsequent message, either indirectly (via an encrypted certificate) or directely (via a challenge-response exchange). |
Method Summary | |
---|---|
EncryptedValue |
getEncryptedKey() If proof of possession is contained in this message, the value of such proof is returned, consisting of the private key, encrypted for the CA. |
ProofOfPossession.SubsequentMsg |
getSubsequentMsgType() If proof of possession is to be given in a subsequent message, the type of such proof is returned. |
ProofOfPossession.Type |
getType() Returns one of the values defined in ProofOfPossession.Type . |
void |
input(java.io.InputStream is) |
java.lang.String |
toString() |
Methods inherited from class oracle.security.crypto.cmp.ProofOfPossession |
---|
inputInstance, length, output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyEnciphermentPOP(EncryptedValue encryptedKey)
KeyEnciphermentPOP
where proof-of-possession is achieved in this message by including the encrypted private key.public KeyEnciphermentPOP(ProofOfPossession.SubsequentMsg subsequentMsg)
KeyEnciphermentPOP
where proof-of-possession will be achieved in a subsequent message, either indirectly (via an encrypted certificate) or directely (via a challenge-response exchange).
ProofOfPossession.SubsequentMsg.ENCR_CERT
, ProofOfPossession.SubsequentMsg.CHALLENGE_RESP
public KeyEnciphermentPOP(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public ProofOfPossession.Type getType()
ProofOfPossession
ProofOfPossession.Type
.getType
in class ProofOfPossession
public EncryptedValue getEncryptedKey()
null
.public ProofOfPossession.SubsequentMsg getSubsequentMsgType()
null
.public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |