public class CAProtEncCertInfo extends InfoTypeAndValue
decoded, encoded
Constructor and Description |
---|
CAProtEncCertInfo() |
CAProtEncCertInfo(java.io.InputStream is) |
CAProtEncCertInfo(java.security.cert.X509Certificate certificate)
Note the changes in the method signature
|
Modifier and Type | Method and Description |
---|---|
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() |
getType, getValue, input, inputInstance, length, output, setValue
readExternal, writeExternal
public CAProtEncCertInfo()
public CAProtEncCertInfo(java.security.cert.X509Certificate certificate)
Note the changes in the method signature
Previously public CAProtEncCertInfo (X509)
Now public CAProtEncCertInfo (X509Certificate)
certificate
- java.security.cert.X509Certificatepublic CAProtEncCertInfo(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public java.security.cert.X509Certificate getCertificate()
Note : This method returns an X509Certificate
public java.lang.String toString()
toString
in class InfoTypeAndValue
protected void encodeValue()
InfoTypeAndValue
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.
encodeValue
in class InfoTypeAndValue
protected void decodeValue()
InfoTypeAndValue
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.
decodeValue
in class InfoTypeAndValue