kz.gamma.asn1.smime
Class SMIMEEncryptionKeyPreferenceAttribute

java.lang.Object
  extended by kz.gamma.asn1.ASN1Encodable
      extended by kz.gamma.asn1.cms.Attribute
          extended by kz.gamma.asn1.smime.SMIMEEncryptionKeyPreferenceAttribute
All Implemented Interfaces:
DEREncodable

public class SMIMEEncryptionKeyPreferenceAttribute
extends Attribute

The SMIMEEncryptionKeyPreference object.

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


Field Summary
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
SMIMEEncryptionKeyPreferenceAttribute(ASN1OctetString sKeyId)
           
SMIMEEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer)
           
SMIMEEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyId)
           
 
Method Summary
 
Methods inherited from class kz.gamma.asn1.cms.Attribute
getAttrType, getAttrValues, getInstance, toASN1Object
 
Methods inherited from class kz.gamma.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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)


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.