KeyAgreeRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 3
originator [0] EXPLICIT OriginatorIdentifierOrKey,
ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
recipientEncryptedKeys RecipientEncryptedKeys
}
UserKeyingMaterial ::= OCTET STRING
| Modifier and Type | Field and Description |
|---|---|
| private AlgorithmIdentifier | |
| private OriginatorIdentifierOrKey | |
| private ASN1Sequence | |
| private ASN1OctetString | |
| private ASN1Integer |
| Access | Constructor and Description |
|---|---|
| public | KeyAgreeRecipientInfo(OriginatorIdentifierOrKey originator, ASN1OctetString ukm, AlgorithmIdentifier keyEncryptionAlgorithm, ASN1Sequence recipientEncryptedKeys)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KeyAgreeRecipientInfo | getInstance(ASN1TaggedObject
the tagged object holding the object we want. obj, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return a KeyAgreeRecipientInfo object from a tagged object. |
| public static KeyAgreeRecipientInfo | getInstance(Object
the object we want converted. obj)Return a KeyAgreeRecipientInfo object from the given object. |
| public AlgorithmIdentifier | |
| public OriginatorIdentifierOrKey | |
| public ASN1Sequence | |
| public ASN1OctetString | |
| public ASN1Integer | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream. |
| keyEncryptionAlgorithm | back to summary |
|---|---|
| private AlgorithmIdentifier keyEncryptionAlgorithm | |
| originator | back to summary |
|---|---|
| private OriginatorIdentifierOrKey originator | |
| recipientEncryptedKeys | back to summary |
|---|---|
| private ASN1Sequence recipientEncryptedKeys | |
| ukm | back to summary |
|---|---|
| private ASN1OctetString ukm | |
| version | back to summary |
|---|---|
| private ASN1Integer version | |
| KeyAgreeRecipientInfo | back to summary |
|---|---|
| public KeyAgreeRecipientInfo(OriginatorIdentifierOrKey originator, ASN1OctetString ukm, AlgorithmIdentifier keyEncryptionAlgorithm, ASN1Sequence recipientEncryptedKeys) | |
| KeyAgreeRecipientInfo | back to summary |
|---|---|
| private KeyAgreeRecipientInfo(ASN1Sequence seq) | |
| getInstance | back to summary |
|---|---|
| public static KeyAgreeRecipientInfo getInstance(ASN1TaggedObject obj, boolean explicit) Return a KeyAgreeRecipientInfo object from a tagged object.
| |
| getInstance | back to summary |
|---|---|
| public static KeyAgreeRecipientInfo getInstance(Object obj) Return a KeyAgreeRecipientInfo object from the given object. Accepted inputs:
| |
| getKeyEncryptionAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getKeyEncryptionAlgorithm() | |
| getOriginator | back to summary |
|---|---|
| public OriginatorIdentifierOrKey getOriginator() | |
| getRecipientEncryptedKeys | back to summary |
|---|---|
| public ASN1Sequence getRecipientEncryptedKeys() | |
| getUserKeyingMaterial | back to summary |
|---|---|
| public ASN1OctetString getUserKeyingMaterial() | |
| getVersion | back to summary |
|---|---|
| public ASN1Integer getVersion() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
| |