Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1.smime
Class SMIMEEncryptionKeyPreferenceAttribute

    java.lang.Object
      |
      +--org.bouncycastle.asn1.cms.Attribute
            |
            +--org.bouncycastle.asn1.smime.SMIMEEncryptionKeyPreferenceAttribute

All Implemented Interfaces:
  DEREncodable

public class SMIMEEncryptionKeyPreferenceAttribute
extends Attribute

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

Constructor Summary
`SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId)`
`SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer)`
`SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId)`

Methods inherited from class org.bouncycastle.asn1.cms.Attribute
`getAttrType, getAttrValues, getDERObject, getInstance`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD