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