public class SMIMEEnvelopedUtil
extends java.lang.Object
| Constructor and Description |
|---|
SMIMEEnvelopedUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SMIMEEnvelopedGenerator |
createGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
Utility method which will return an SMIMEEnvelopedGenerator or an
SMIMEAuthEnvelopedGenerator as appropriate for the algorithm OID passed in.
|
static org.bouncycastle.cms.RecipientInformationStore |
getRecipientInfos(javax.mail.internet.MimeBodyPart message)
Parse the passed in MimeMessage extracting the RecipientInfos from it.
|
public static org.bouncycastle.cms.RecipientInformationStore getRecipientInfos(javax.mail.internet.MimeBodyPart message)
throws javax.mail.MessagingException,
org.bouncycastle.cms.CMSException
message - the message to be parsed.javax.mail.MessagingExceptionorg.bouncycastle.cms.CMSExceptionpublic static SMIMEEnvelopedGenerator createGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
algorithm - algorithm OID