Returns the encoded certificate blob i.e., ASN.1 structure.
Syntax
byte[]
getEncoded
() throws ASN1Exception, IOException
Returns
encoded certificate blob.
Exceptions
-
ASN1Exception –
if any error is encountered while encoding the provided certificate data into the ASN.1 structure.
-
IOException –
if an input or output error occurs while dealing with the byte array streams
Usage
encoded certificate blob.