|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.AttributeTypeAndValue
oracle.security.crypto.cmp.attribute.RegistrationControl
oracle.security.crypto.cmp.attribute.ProtocolEncrKeyRegControl
public class ProtocolEncrKeyRegControl
CRMF protocol encyption key registration control.
Field Summary |
---|
Fields inherited from class oracle.security.crypto.cmp.attribute.RegistrationControl |
---|
decoded, encoded |
Constructor Summary | |
---|---|
ProtocolEncrKeyRegControl() Creates a new, empty ProtocolEncrKeyRegControl instance. |
|
ProtocolEncrKeyRegControl(java.io.InputStream is) |
|
ProtocolEncrKeyRegControl(java.security.PublicKey key) Note the changes in the method signature |
Method Summary | |
---|---|
protected void |
decodeValue() Decodes the superclass AttributeTypeAndValue 's ASN1Object value to populate this control's fields. |
protected void |
encodeValue() Encodes this control's fields as an ASN1Object for the superclass AttributeTypeAndValue 's value. |
java.security.PublicKey |
getEncryptionKey() Note : Returns a java.security.PublicKey |
Methods inherited from class oracle.security.crypto.cmp.attribute.RegistrationControl |
---|
input, inputInstance, length, output, setValue |
Methods inherited from class oracle.security.crypto.cert.AttributeTypeAndValue |
---|
getType, getValue, readExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolEncrKeyRegControl()
ProtocolEncrKeyRegControl
instance. Note, the created object is not valid, and is intended primarily for use in conjunction with the RegistrationControl.input(java.io.InputStream)
method.public ProtocolEncrKeyRegControl(java.security.PublicKey key)
Note the changes in the method signature
Previously public ProtocolEncrKeyRegControl (oracle.security.crypto.core.PublicKey )
Now public ProtocolEncrKeyRegControl(java.security.PublicKey)
public ProtocolEncrKeyRegControl(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.security.PublicKey getEncryptionKey()
Note : Returns a java.security.PublicKey
protected void encodeValue()
RegistrationControl
ASN1Object
for the superclass AttributeTypeAndValue
's value.
Subclasses must override this method to properly test and set the RegistrationControl.encoded
field, and invoke the superclass RegistrationControl.setValue(oracle.security.crypto.asn1.ASN1Object)
method to set the encoded structure.
encodeValue
in class RegistrationControl
protected void decodeValue()
RegistrationControl
AttributeTypeAndValue
's ASN1Object
value to populate this control's fields.
Subclasses must override this method to invoke the superclass AttributeTypeAndValue.getValue()
method to get the structure to decode, and properly test and set the RegistrationControl.decoded
field.
decodeValue
in class RegistrationControl
|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |