oracle.security.crypto.cmp.attribute
Class CAProtEncCertInfo
java.lang.Object
oracle.security.crypto.cert.AttributeTypeAndValue
oracle.security.crypto.cmp.attribute.InfoTypeAndValue
oracle.security.crypto.cmp.attribute.CAProtEncCertInfo
- All Implemented Interfaces:
- oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable
- public class CAProtEncCertInfo
- extends InfoTypeAndValue
CA protocal encryption certificate information type.
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. |
oracle.security.crypto.cert.X509 |
getCertificate()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CAProtEncCertInfo
public CAProtEncCertInfo()
CAProtEncCertInfo
public CAProtEncCertInfo(oracle.security.crypto.cert.X509 certificate)
CAProtEncCertInfo
public CAProtEncCertInfo(java.io.InputStream is)
throws java.io.IOException
getCertificate
public oracle.security.crypto.cert.X509 getCertificate()
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
Copyright © 2005 ,2006 , Oracle. All rights reserved.