|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SMIMEException | |
com.dstc.security.smime | This package defines classes and interfaces for S/MIME v3 as specified in IETF RFC 2633. |
Uses of SMIMEException in com.dstc.security.smime |
Methods in com.dstc.security.smime that throw SMIMEException | |
void |
SMIMESignature.initSign(String digestAlgName,
PrivateKey priv,
X509Certificate[] certChain,
boolean opaque)
Initializes for signing one or more MimeMessages with a supplied private key and certificate chain, a digest algorithm and an indication of whether 'clear signing' or 'opaque signing' is required. |
void |
SMIMESignature.initVerify(Vector trusted,
Vector certStore)
Initializes for verifying one or more MimeMessages with a Vector of trusted certificates (trust anchors) and an optional certificate store for certification path construction. |
void |
SMIMESignature.setMessage(MimeMessage origMsg)
Sets the message to be signed or verified. |
MimeMessage |
SMIMESignature.sign()
Signs the previously set MimeMessage, and if successful returns a MimeMessage encapsulating a representation of the signed message. |
VerificationResult |
SMIMESignature.verify()
Verifies the previously set MimeMessage, and if successful returns a VerificationResult. |
void |
SMIMECipher.initEncrypt(SecureRandom rand,
String algName,
X509Certificate[] certs)
Initializes for encryption of one or more MimeMessages with a SecureRandom instance, a content encryption algorithm, and an array of X509Certificates for intended recipients. |
void |
SMIMECipher.initDecrypt(PrivateKey priv,
X509Certificate cert)
Initializes for decryption of one or more encrypted MimeMessages with a PrivateKey and corresponding X.509 certificate |
void |
SMIMECipher.setMessage(MimeMessage origMsg)
Sets the MimeMessage to encrypt or decrypt. |
DecryptionResult |
SMIMECipher.decrypt()
Decrypts the previously set MimeMessage, and if successful returns a DecryptionResult through which the decrypted MimeMessage can be retrieved. |
MimeMessage |
SMIMECipher.encrypt()
Encrypts the previously set MimeMessage, and if successful returns a MimeMessage encapsulating a representation of the encrypted message. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |