| Package | Description |
|---|---|
| iaik.pkcs.pkcs7 | |
| iaik.security.smime |
| Modifier and Type | Method and Description |
|---|---|
IssuerAndSerialNumber |
RecipientInfo.getIssuerAndSerialNumber()
Returns a specification of the recipient's certificate by issuer distinguished
name and issuer-specific serial number.
|
IssuerAndSerialNumber |
SignerInfo.getIssuerAndSerialNumber()
Returns informatin about the signer's certificate.
|
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
SignedDataStream.getCertificate(IssuerAndSerialNumber issuer)
Tries to find the certificate specified by an IssuerAndSerialNumber.
|
| Constructor and Description |
|---|
RecipientInfo(IssuerAndSerialNumber issuer,
AlgorithmID keyEA,
byte[] encryptedKey)
Creates a
RecipientInfo object with given
IssuerAndSerialNumber, key-encryption algorithm, and already
encrypted content encryption key. |
SignerInfo(IssuerAndSerialNumber issuerAndSerialNumber,
AlgorithmID digestAlgorithm,
AlgorithmID digestEncryptionAlgorithm,
java.security.PrivateKey privateKey)
Creates a new SignerInfo from given issuerAndSerialNumber,
and digestAlgorithm ID, digest-encrytion algorithmID, and the
signer´s private key.
|
SignerInfo(IssuerAndSerialNumber issuerAndSerialNumber,
AlgorithmID digestAlgorithm,
java.security.PrivateKey privateKey)
Creates a new SignerInfo from given IssuerAndSerialNumber,
digestAlgorithm ID, and the signer´s private key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SMimeSigned.addSigner(java.security.PrivateKey privateKey,
IssuerAndSerialNumber signer)
Signs this message using the supplied signer´s private key.
|