| Package | Description |
|---|---|
| com.entrust.toolkit |
Contains various high-level classes that provide Toolkit JCA cryptographic provider initialization,
an Entrust User representation, a key/certificate source, a certificate set representation,
JNI initialization capabilities, PKCS #7 encoding and decoding, CMS and PKCS#7 User related
utilities, transaction counting, and an XML trust manager.
|
| iaik.cms | |
| iaik.smime |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object[] |
CMSUtil.getRecipientDecryptionKey(KeyAndCertificateSource keyAndCertificateSource,
RecipientInfo[] recipients)
Finds the user's decryption key that can be used to decrypt a message that
contains the indicated recipient information.
|
static java.lang.Object[] |
CMSUtil.getRecipientDecryptionKey(User user,
RecipientInfo[] recipients)
Finds the user's decryption key that can be used to decrypt a message that
contains the indicated recipient information.
|
| Modifier and Type | Class and Description |
|---|---|
class |
KEKRecipientInfo
This class implements the CMS
KEKRecipientInfo type. |
class |
KeyAgreeRecipientInfo
This class implements the CMS
KeyAgreeRecipientInfo type. |
class |
KeyTransRecipientInfo
This class implements the CMS
KeyTransRecipientInfo type. |
class |
OtherRecipientInfo
This abstract class implements the CMS
OtherRecipientInfo type. |
class |
PasswordRecipientInfo
This class implements the CMS
PasswordRecipientInfo type. |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector<RecipientInfo> |
AuthenticatedDataStream.m_recipientInfos
A list of RecipientInfo
|
protected java.util.Vector<RecipientInfo> |
EnvelopedDataStream.recipientInfos_
Repository for the RecipientInfos.
|
| Modifier and Type | Method and Description |
|---|---|
RecipientInfo |
AuthenticatedDataStream.getRecipientInfo(KeyIdentifier recipientIdentifier) |
RecipientInfo |
EnvelopedDataStream.getRecipientInfo(KeyIdentifier recipientIdentifier)
Returns the RecipientInfo belonging to the recipient identified by the
given recipient identifier.
|
RecipientInfo |
AuthenticatedDataStream.getRecipientInfo(X509Certificate recipientCertificate) |
RecipientInfo |
EnvelopedDataStream.getRecipientInfo(X509Certificate recipientCertificate)
Returns the recipient info matching to the supplied recipient certificate.
|
RecipientInfo[] |
AuthenticatedDataStream.getRecipientInfos() |
RecipientInfo[] |
EnvelopedDataStream.getRecipientInfos()
Returns all the recipient infos included in this
EnvelopedData object. |
RecipientInfo[] |
AuthenticatedDataStream.getRecipientInfos(int type) |
RecipientInfo |
KEKRecipientInfo.makeClone() |
RecipientInfo |
KeyAgreeRecipientInfo.makeClone() |
RecipientInfo |
KeyTransRecipientInfo.makeClone() |
RecipientInfo |
PasswordRecipientInfo.makeClone()
Clone ourself.
|
abstract RecipientInfo |
RecipientInfo.makeClone() |
static RecipientInfo |
RecipientInfo.parseRecipientInfo(ASN1Object obj)
Parses a RecipientInfo from the supplied ASN1Object.
|
static RecipientInfo |
RecipientInfo.parseRecipientInfo(java.io.InputStream is)
Parses a DER encoded RecipientInfo from the supplied input stream.
|
static RecipientInfo[] |
RecipientInfo.parseRecipientInfos(java.io.InputStream is)
Parses a SET of DER encoded RecipientInfos from the supplied input stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticatedDataStream.addRecipientInfo(RecipientInfo recipientinfo)
Adds one recipient to the list of recipient infos
Any
RecipientInfo added supplies recipient-specific information used for
identifying the key of the recipient to be used for en/decrypting the symmetric mac key |
void |
EnvelopedDataStream.addRecipientInfo(RecipientInfo recipient)
Adds one recipient to the list of recipient infos.
|
void |
AuthenticatedDataStream.setRecipientInfos(RecipientInfo[] recipients)
Sets the recipient infos:
Any RecipientInfo added supplies recipient-specific information used for identifying the key of the
recipient to be used for en/decrypting the symmetric mac key.
|
void |
EnvelopedDataStream.setRecipientInfos(RecipientInfo[] recipients)
Sets the recipient infos.
|
void |
EnvelopedDataStream.setupCipher(SecureStringBuffer password,
RecipientInfo recipient)
Uses the specified password to derive a key for decrypting the content-encryption key to setup the
cipher for decrypting the encrypted content of this
EnvelopedDataStream
object for the requesting recipient, specified by its recipientInfoIndex. |
| Modifier and Type | Method and Description |
|---|---|
static ASN1Object |
RecipientInfo.encodeSequence(java.util.List<RecipientInfo> ris)
Encode the list of RecipientInfos into an ASN1 SET.
|
| Constructor and Description |
|---|
EnvelopedData(RecipientInfo[] recipients,
EncryptedContentInfo encryptedCI)
Constructs a CMS EnvelopedData type with an already
created EncryptedContentInfo.
|
EnvelopedDataStream(RecipientInfo[] recipients,
EncryptedContentInfoStream encryptedCI)
Constructs an EnvelopedDataStream object with an already
created EncryptedContentInfoStream.
|
| Modifier and Type | Method and Description |
|---|---|
RecipientInfo[] |
EncryptedContent.getRecipientInfos()
Returns information about all recipients of this message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EncryptedContent.addRecipient(RecipientInfo recipientInfo)
Adds one recipient.
|