| Modifier and Type | Method and Description |
|---|---|
SmimeKey |
SmimeKeyStore.getPrivateKey(String alias,
char[] password)
Returns the S/MIME key associated with the given alias, using the given
password to recover it.
|
SmimeKey |
SmimeKeyStore.getPrivateKey(String alias,
char[] password,
boolean discardPassword)
Returns the S/MIME key associated with the given alias, using the given
password to recover it.
|
| Modifier and Type | Method and Description |
|---|---|
static MimeBodyPart |
SmimeUtil.decrypt(MimeBodyPart mimeBodyPart,
SmimeKey smimeKey)
Decrypts a S/MIME encrypted MIME body part and yields a new MIME body
part.
|
static MimeBodyPart |
SmimeUtil.decrypt(MimeMultipart mimeMultipart,
SmimeKey smimeKey)
Decrypts a S/MIME encrypted MIME multipart and yields a new MIME body
part.
|
static MimeMessage |
SmimeUtil.decrypt(Session session,
MimeMessage mimeMessage,
SmimeKey smimeKey)
Decrypts a S/MIME encrypted MIME message and yields a new MIME message.
|
static MimeBodyPart |
SmimeUtil.sign(MimeBodyPart mimeBodyPart,
SmimeKey smimeKey)
Signs a MIME body part and yields a new S/MIME signed MIME body part.
|
static MimeMessage |
SmimeUtil.sign(Session session,
MimeMessage mimeMessage,
SmimeKey smimeKey)
Signs a MIME message and yields a new S/MIME signed MIME message.
|
Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.