Class SMIMEEncryptionKeyPreferenceAttribute

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class SMIMEEncryptionKeyPreferenceAttribute
    extends Attribute
    The SMIMEEncryptionKeyPreference object.
     SMIMEEncryptionKeyPreference ::= CHOICE {
         issuerAndSerialNumber   [0] IssuerAndSerialNumber,
         receipentKeyId          [1] RecipientKeyIdentifier,
         subjectAltKeyIdentifier [2] SubjectKeyIdentifier
     }
     
    • Constructor Detail

      • SMIMEEncryptionKeyPreferenceAttribute

        public SMIMEEncryptionKeyPreferenceAttribute​(IssuerAndSerialNumber issAndSer)
      • SMIMEEncryptionKeyPreferenceAttribute

        public SMIMEEncryptionKeyPreferenceAttribute​(RecipientKeyIdentifier rKeyId)
      • SMIMEEncryptionKeyPreferenceAttribute

        public SMIMEEncryptionKeyPreferenceAttribute​(ASN1OctetString sKeyId)
        Parameters:
        sKeyId - the subjectKeyIdentifier value (normally the X.509 one)