public class SplitDirectRecipientInformationFactory extends Object implements DirectRecipientInformationFactory
| Constructor and Description |
|---|
SplitDirectRecipientInformationFactory()
Constructor.
|
SplitDirectRecipientInformationFactory(String keyEncProvider,
String encProvider)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
DirectRecipientInformation |
createInstance(org.bouncycastle.cms.RecipientInformation recipient,
org.bouncycastle.mail.smime.SMIMEEnveloped env)
Creates an instance of a DirectRecipientInformation implementation.
|
public SplitDirectRecipientInformationFactory()
public SplitDirectRecipientInformationFactory(String keyEncProvider, String encProvider)
keyEncProvider - The name of the JCE provider used to decrypt the messgae content using the message symmetric key. If this value
is null of empty, the CryptoExtensions.getJCESensitiveProviderName() value is used.encProvider - The name of the JCE provider used to decrypt the messgae content using the message symmetric key. If this value
is null of empty, the CryptoExtensions.getJCEProviderName() value is used.public DirectRecipientInformation createInstance(org.bouncycastle.cms.RecipientInformation recipient, org.bouncycastle.mail.smime.SMIMEEnveloped env)
createInstance in interface DirectRecipientInformationFactoryrecipient - The recipient information.env - The SMIME encrypted data to be decrypted.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.