Package org.bouncycastle.asn1.smime
Class SMIMEEncryptionKeyPreferenceAttribute
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.Attribute
org.bouncycastle.asn1.smime.SMIMEEncryptionKeyPreferenceAttribute
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
The SMIMEEncryptionKeyPreference object.
SMIMEEncryptionKeyPreference ::= CHOICE { issuerAndSerialNumber [0] IssuerAndSerialNumber, receipentKeyId [1] RecipientKeyIdentifier, subjectAltKeyIdentifier [2] SubjectKeyIdentifier }
-
Constructor Summary
ConstructorDescriptionSMIMEEncryptionKeyPreferenceAttribute
(org.bouncycastle.asn1.ASN1OctetString sKeyId) -
Method Summary
Methods inherited from class org.bouncycastle.asn1.cms.Attribute
getAttributeValues, getAttrType, getAttrValues, getInstance, toASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
SMIMEEncryptionKeyPreferenceAttribute
-
SMIMEEncryptionKeyPreferenceAttribute
-
SMIMEEncryptionKeyPreferenceAttribute
public SMIMEEncryptionKeyPreferenceAttribute(org.bouncycastle.asn1.ASN1OctetString sKeyId) - Parameters:
sKeyId
- the subjectKeyIdentifier value (normally the X.509 one)
-