public class PreferredSymmAlgInfo extends InfoTypeAndValue
decoded, encoded| Constructor and Description |
|---|
PreferredSymmAlgInfo() |
PreferredSymmAlgInfo(AlgorithmIdentifier algID) |
| 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. |
AlgorithmIdentifier |
getAlgID() |
java.lang.String |
toString() |
getType, getValue, input, inputInstance, length, output, setValuereadExternal, writeExternalpublic PreferredSymmAlgInfo()
public PreferredSymmAlgInfo(AlgorithmIdentifier algID)
public AlgorithmIdentifier getAlgID()
public java.lang.String toString()
toString in class InfoTypeAndValueprotected void encodeValue()
InfoTypeAndValueASN1Object
for the baseclass.
Subclasses must override this method to properly test and
set the InfoTypeAndValue.encoded field, and invoke the superclass
InfoTypeAndValue.setValue(ASN1Object) method to set the encoded structure.
encodeValue in class InfoTypeAndValueprotected void decodeValue()
InfoTypeAndValueASN1Object 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