| Package | Description |
|---|---|
| iaik.security.smime |
| Modifier and Type | Method and Description |
|---|---|
void |
SMimeEncrypted.addRecipient(java.security.cert.X509Certificate certificate,
AlgorithmID keyEA)
Adds one recipient to this S/MIME enveloped object.
|
void |
EncryptedContent.decryptSymmetricKey(KeyAndCertificateSource keyAndCertificateSource)
Locates one of user's decryption keys that is appropriate for decrypting one
of the content-encryption keys, decrypts the content-encryption key, and
prepares the cipher for decrypting the encrypted content.
|
void |
SMimeEncrypted.decryptSymmetricKey(KeyAndCertificateSource keyAndCertificateSource)
Locates one of user's decryption keys that is appropriate for decrypting one
of the content-encryption keys, decrypts the content-encryption key, and
prepares the cipher for decrypting the encrypted content.
|
int |
EncryptedContent.decryptSymmetricKey(java.security.PrivateKey recipientPrivateKey,
int recipientInfoIndex)
Uses the specified private key to setup the cipher for decrypting this S/MIME object.
|
int |
SMimeEncrypted.decryptSymmetricKey(java.security.PrivateKey recipientPrivateKey,
int recipientInfoIndex)
Uses the specified private key to decrypt this S/MIME object.
|
void |
EncryptedContent.decryptSymmetricKey(User user)
Locates one of user's decryption keys that is appropriate for decrypting one
of the content-encryption keys, decrypts the content-encryption key, and
prepares the cipher for decrypting the encrypted content.
|
void |
SMimeEncrypted.decryptSymmetricKey(User user)
Locates one of user's decryption keys that is appropriate for decrypting one
of the content-encryption keys, decrypts the content-encryption key, and
prepares the cipher for decrypting the encrypted content.
|
byte[] |
SMimeEncrypted.toByteArray()
Returns the S/MIME enveloped message as byte array.
|