Class SMIMECapability

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.smime.SMIMECapability
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class SMIMECapability extends org.bouncycastle.asn1.ASN1Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
    encryption algorithms preferences
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
    general preferences
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
    static final org.bouncycastle.asn1.ASN1ObjectIdentifier
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SMIMECapability(org.bouncycastle.asn1.ASN1ObjectIdentifier capabilityID, org.bouncycastle.asn1.ASN1Encodable parameters)
     
    SMIMECapability(org.bouncycastle.asn1.ASN1Sequence seq)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.ASN1ObjectIdentifier
     
     
    org.bouncycastle.asn1.ASN1Encodable
     
    org.bouncycastle.asn1.ASN1Primitive
    Produce an object suitable for an ASN1OutputStream.

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • preferSignedData

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier preferSignedData
      general preferences
    • canNotDecryptAny

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier canNotDecryptAny
    • sMIMECapabilitiesVersions

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier sMIMECapabilitiesVersions
    • dES_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_CBC
      encryption algorithms preferences
    • dES_EDE3_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_EDE3_CBC
    • rC2_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier rC2_CBC
    • aES128_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES128_CBC
    • aES192_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES192_CBC
    • aES256_CBC

      public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES256_CBC
  • Constructor Details

    • SMIMECapability

      public SMIMECapability(org.bouncycastle.asn1.ASN1Sequence seq)
    • SMIMECapability

      public SMIMECapability(org.bouncycastle.asn1.ASN1ObjectIdentifier capabilityID, org.bouncycastle.asn1.ASN1Encodable parameters)
  • Method Details

    • getInstance

      public static SMIMECapability getInstance(Object obj)
    • getCapabilityID

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getCapabilityID()
    • getParameters

      public org.bouncycastle.asn1.ASN1Encodable getParameters()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Produce an object suitable for an ASN1OutputStream.
       
       SMIMECapability ::= SEQUENCE {
           capabilityID OBJECT IDENTIFIER,
           parameters ANY DEFINED BY capabilityID OPTIONAL 
       }
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object