Top Description Constructors Methods
org.bouncycastle.asn1.smime

public Class SMIMEEncryptionKeyPreferenceAttribute

extends Attribute
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1OctetString, .DERSet, .DERTaggedObject, org.bouncycastle.asn1.cms.Attribute, .IssuerAndSerialNumber, .RecipientKeyIdentifier

The SMIMEEncryptionKeyPreference object.
SMIMEEncryptionKeyPreference ::= CHOICE {
    issuerAndSerialNumber   [0] IssuerAndSerialNumber,
    receipentKeyId          [1] RecipientKeyIdentifier,
    subjectAltKeyIdentifier [2] SubjectKeyIdentifier
}

Constructor Summary

AccessConstructor and Description
public
public
public
SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString
the subjectKeyIdentifier value (normally the X.509 one)
sKeyId
)

Method Summary

Inherited from org.bouncycastle.asn1.cms.Attribute:
getAttributeValuesgetAttrTypegetAttrValuesgetInstancetoASN1Primitive

Constructor Detail

SMIMEEncryptionKeyPreferenceAttributeback to summary
public SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer)
SMIMEEncryptionKeyPreferenceAttributeback to summary
public SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId)
SMIMEEncryptionKeyPreferenceAttributeback to summary
public SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId)
Parameters
sKeyId:ASN1OctetString

the subjectKeyIdentifier value (normally the X.509 one)