public abstract class OtherRecipientInfo extends RecipientInfo
OtherRecipientInfo type.
This class should be subclassed for different types of OtherRecipientInfo
The CMS Cryptographic Message
Syntax specifies the OtherRecipientInfo type as:
OtherRecipientInfo ::= SEQUENCE {
oriType OBJECT IDENTIFIER,
oriValue ANY DEFINED BY oriType }
KEK_RECIPIENT_INFO, KEY_AGREE_RECIPIENT_INFO, KEY_TRANSPORT_RECIPIENT_INFO, keyEncryptionAlgorithm_, OTHER_RECIPIENT_INFO, PASSWORD_RECIPIENT_INFO, securityProvider_, version_| Constructor and Description |
|---|
OtherRecipientInfo()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static OtherRecipientInfo |
parseOtherRecipientInfo(ASN1Object any)
Use the factory class to parse the given ASN1Object into a
OtherRecipientInfo
|
static void |
setOtherRecipientInfoFactory(OtherRecipientInfoFactory fact)
set the factory class that knows how to generate specific instances
of OtherRecipientInfo
|
decryptKey, decryptKey, decryptKey, encodeSequence, encryptKey, getEncryptedKey, getKeyEncryptionAlgorithm, getRecipientIdentifiers, getRecipientInfoType, getVersion, isPasswordRequired, isRecipientInfoFor, isRecipientInfoFor, makeClone, parseRecipientInfo, parseRecipientInfo, parseRecipientInfosclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, toASN1Objectpublic OtherRecipientInfo()
OtherRecipientInfo
object and sets the version number to 4.
public static void setOtherRecipientInfoFactory(OtherRecipientInfoFactory fact)
fact - the factory class which will generate specific instancespublic static OtherRecipientInfo parseOtherRecipientInfo(ASN1Object any) throws CodingException
any - the ASN1Object to be parsed.CodingException