* @return The {@link PrivateMessage}.
* @throws IOException
*/
public PrivateMessage decode( byte[] encodedPrivateMessage ) throws IOException
{
ASN1InputStream ais = new ASN1InputStream( encodedPrivateMessage );
DERApplicationSpecific app = ( DERApplicationSpecific ) ais.readObject();
DERSequence privateMessage = ( DERSequence ) app.getObject();
return decodePrivateMessageSequence( privateMessage );
}