Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


oracle.security.crypto.cmp.attribute
Class ArchiveRemGenPrivKeyArchOpt

java.lang.Object
  extended byoracle.security.crypto.cert.AttributeTypeAndValue
      extended byoracle.security.crypto.cmp.attribute.RegistrationControl
          extended byoracle.security.crypto.cmp.attribute.PKIArchiveOptionRegControl
              extended byoracle.security.crypto.cmp.attribute.ArchiveRemGenPrivKeyArchOpt


public class ArchiveRemGenPrivKeyArchOpt
extends PKIArchiveOptionRegControl

CRMF archive option registration control indicating whether the recipient should archive the private key generated in response to the enclosing request.


Field Summary

Fields inherited from class oracle.security.crypto.cmp.attribute.RegistrationControl
decoded, encoded

Constructor Summary
ArchiveRemGenPrivKeyArchOpt()
ArchiveRemGenPrivKeyArchOpt(boolean archive)
ArchiveRemGenPrivKeyArchOpt(java.io.InputStream is)

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.
boolean getArchive()

Methods inherited from class oracle.security.crypto.cmp.attribute.PKIArchiveOptionRegControl
inputArchiveOption

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

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ArchiveRemGenPrivKeyArchOpt

public ArchiveRemGenPrivKeyArchOpt()

ArchiveRemGenPrivKeyArchOpt

public ArchiveRemGenPrivKeyArchOpt(boolean archive)

ArchiveRemGenPrivKeyArchOpt

public ArchiveRemGenPrivKeyArchOpt(java.io.InputStream is)
                            throws java.io.IOException

Method Detail

getArchive

public boolean getArchive()

encodeValue

protected void encodeValue()
Description copied from class: RegistrationControl
Encodes this control's fields as an 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(ASN1Object) method to set the encoded structure.

Overrides:
encodeValue in class RegistrationControl

decodeValue

protected void decodeValue()
Description copied from class: RegistrationControl
Decodes the superclass 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.

Overrides:
decodeValue in class RegistrationControl

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


Copyright © 2005 , Oracle. All rights reserved.