Skip navigation links

Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-05


oracle.security.crypto.cmp.attribute
Class CAProtEncCertInfo

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.CAProtEncCertInfo

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

public class CAProtEncCertInfo
extends InfoTypeAndValue

CA protocal encryption certificate information type.

See Also:
Serialized Form

Field Summary

 

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

 

Constructor Summary
CAProtEncCertInfo()
           
CAProtEncCertInfo(java.io.InputStream is)
           
CAProtEncCertInfo(java.security.cert.X509Certificate certificate)
           Note the changes in the method signature

 

Method Summary
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.security.cert.X509Certificate getCertificate()
          Note : This method returns an X509Certificate
 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

CAProtEncCertInfo

public CAProtEncCertInfo()

CAProtEncCertInfo

public CAProtEncCertInfo(java.security.cert.X509Certificate certificate)

Note the changes in the method signature

Previously public CAProtEncCertInfo (X509)

Now public CAProtEncCertInfo (X509Certificate)

Parameters:
certificate - java.security.cert.X509Certificate

CAProtEncCertInfo

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

Method Detail

getCertificate

public java.security.cert.X509Certificate getCertificate()

Note : This method returns an X509Certificate


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 Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-05


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