public class SMIMEEncryptionKeyPreferenceAttribute extends Attribute
SMIMEEncryptionKeyPreference ::= CHOICE { issuerAndSerialNumber [0] IssuerAndSerialNumber, receipentKeyId [1] RecipientKeyIdentifier, subjectAltKeyIdentifier [2] SubjectKeyIdentifier }
Constructor and Description |
---|
SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId) |
SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer) |
SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId) |
getAttributeValues, getAttrType, getAttrValues, getInstance, toASN1Primitive
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer)
public SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId)
public SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId)
sKeyId
- the subjectKeyIdentifier value (normally the X.509 one)