org.bouncycastle.asn1.smime
Class SMIMEEncryptionKeyPreferenceAttribute
- DEREncodable
public class SMIMEEncryptionKeyPreferenceAttribute
The SMIMEEncryptionKeyPreference object.
SMIMEEncryptionKeyPreference ::= CHOICE {
issuerAndSerialNumber [0] IssuerAndSerialNumber,
receipentKeyId [1] RecipientKeyIdentifier,
subjectAltKeyIdentifier [2] SubjectKeyIdentifier
}
SMIMEEncryptionKeyPreferenceAttribute
public SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId)
sKeyId
- the subjectKeyIdentifier value (normally the X.509 one)
SMIMEEncryptionKeyPreferenceAttribute
public SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer)
SMIMEEncryptionKeyPreferenceAttribute
public SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId)