Skip navigation links

Oracle Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


oracle.security.crypto.cmp.attribute
Class EncKeyPairTypesInfo

java.lang.Object
  extended by oracle.security.crypto.cert.AttributeTypeAndValue
      extended by oracle.security.crypto.cmp.attribute.InfoTypeAndValue
          extended by oracle.security.crypto.cmp.attribute.EncKeyPairTypesInfo

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class EncKeyPairTypesInfo
extends InfoTypeAndValue

Information type used by the client to get the list of encryption/key aggrement key algorithms whose public key the CA is willing to certify.

See Also:
Serialized Form

Field Summary

 

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

 

Constructor Summary
EncKeyPairTypesInfo()
           
EncKeyPairTypesInfo(oracle.security.crypto.core.AlgorithmIdentifier algID)
           
EncKeyPairTypesInfo(java.io.InputStream is)
           

 

Method Summary
 void addAlgID(oracle.security.crypto.core.AlgorithmIdentifier algID)
          Add an algorithm identifier to this SignKeyPairTypesInfo.
protected  void decodeValue()
          Decodes the baseclass' ASN1Object value to populate this control's fields.
protected  void encodeValue()
          Encodes this control's fields as an ASN1Object for the baseclass.
 java.util.Vector getAlgIDs()
          Return the list of encryption/key agreement key algorithms.
 java.lang.String toString()
           

 

Methods inherited from class oracle.security.crypto.cmp.attribute.InfoTypeAndValue
getType, getValue, input, inputInstance, length, output, setValue

 

Methods inherited from class oracle.security.crypto.cert.AttributeTypeAndValue
readExternal, writeExternal

 

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

 

Constructor Detail

EncKeyPairTypesInfo

public EncKeyPairTypesInfo()

EncKeyPairTypesInfo

public EncKeyPairTypesInfo(oracle.security.crypto.core.AlgorithmIdentifier algID)

EncKeyPairTypesInfo

public EncKeyPairTypesInfo(java.io.InputStream is)
                    throws java.io.IOException
Throws:
java.io.IOException

Method Detail

addAlgID

public void addAlgID(oracle.security.crypto.core.AlgorithmIdentifier algID)
Add an algorithm identifier to this SignKeyPairTypesInfo.

getAlgIDs

public java.util.Vector getAlgIDs()
Return the list of encryption/key agreement key algorithms.

toString

public java.lang.String toString()
Overrides:
toString in class InfoTypeAndValue

encodeValue

protected void encodeValue()
Description copied from class: InfoTypeAndValue
Encodes this control's fields as an ASN1Object for the baseclass.

Subclasses must override this method to properly test and set the InfoTypeAndValue.encoded field, and invoke the superclass InfoTypeAndValue.setValue(oracle.security.crypto.asn1.ASN1Object) method to set the encoded structure.

Overrides:
encodeValue in class InfoTypeAndValue

decodeValue

protected void decodeValue()
Description copied from class: InfoTypeAndValue
Decodes the baseclass' ASN1Object value to populate this control's fields.

Subclasses must override this method to invoke the InfoTypeAndValue.getValue() method to get the structure to decode, and properly test and set the InfoTypeAndValue.decoded field.

Overrides:
decodeValue in class InfoTypeAndValue

Skip navigation links

Oracle Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


Copyright © 2005, 2009, Oracle. All rights reserved.