Decodes the byte array (encoded ASN.1 structure) passed as argument.
Syntax
void
decode
(
byte[]
encodedData
) throws ASN1Exception, IOException
Parameters
-
encodedData –
the encoded ASN.1 structure that should be decoded into the member variables.
Exceptions
-
ASN1Exception –
error decoding the ASN.1 structure
-
IOException –
if an input or output error occurs while dealing with the byte array streams
Usage
The decoded values are stored in the member variables of this class that represent the components of the corresponding ASN.1 type.