This method takes in the user certificate and the private keys as FileInputStream and the content of the message part to decode and returns a decrypted MimeBodyPart object.
This method takes in the user certificate file location and the private key file location and the content of the message part to decode and returns a decrypted MimeBodyPart object.
Return the type of the grantee Valid Types are: user - ESDSConstants.DS_MAILUSER, dl - ESDSConstants.DS_DISTRIBUTION_LIST, domain - ESDSConstants.DS_DOMAIN
This method takes in the user certificate file and the private keys file, the content of the message part that contains the signature to verify, the sinature certificates and the actual signature and returns an integer value(1 - verified, 0 - not verified).
This method takes in the user certificate filename and the private keys filename, the content of the message part that contains the signature to verify, the sinature certificates and the actual signature and returns an integer value(1 - verified, 0 - not verified).