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

## org.bouncycastle.asn1.smime
Class SMIMECapabilities

    java.lang.Object
      org.bouncycastle.asn1.smime.SMIMECapabilities

All Implemented Interfaces:
  DEREncodable

public class SMIMECapabilities
extends java.lang.Object
implements DEREncodable

Handler class for dealing with S/MIME Capabilities

Field Summary
`static DERObjectIdentifier` | `canNotDecryptAny`
`static DERObjectIdentifier` | `dES_CBC` encryption algorithms preferences
`static DERObjectIdentifier` | `dES_EDE3_CBC`
`static DERObjectIdentifier` | `preferSignedData` general preferences
`static DERObjectIdentifier` | `rC2_CBC`
`static DERObjectIdentifier` | `sMIMECapabilitesVersions`

Constructor Summary
`SMIMECapabilities(ASN1Sequence seq)`

Method Summary
`java.util.Vector` | `getCapabilities(DERObjectIdentifier capability)` returns a vector with 0 or more objects of all the capabilities matching the passed in capability OID.
`DERObject` | `getDERObject()` Produce an object suitable for an ASN1OutputStream.
`static SMIMECapabilities` | `getInstance(java.lang.Object o)` return an Attribute object from the given object.

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

Field Detail

### preferSignedData

    public static final DERObjectIdentifier preferSignedData

  general preferences

### canNotDecryptAny

    public static final DERObjectIdentifier canNotDecryptAny

### sMIMECapabilitesVersions

    public static final DERObjectIdentifier sMIMECapabilitesVersions

### dES_CBC

    public static final DERObjectIdentifier dES_CBC

  encryption algorithms preferences

### dES_EDE3_CBC

    public static final DERObjectIdentifier dES_EDE3_CBC

### rC2_CBC

    public static final DERObjectIdentifier rC2_CBC

Constructor Detail

### SMIMECapabilities

    public SMIMECapabilities(ASN1Sequence seq)

Method Detail

### getInstance

    public static SMIMECapabilities getInstance(java.lang.Object o)

  return an Attribute object from the given object.

  Parameters:
    `o` - the object we want converted.
  Throws:
    `java.lang.IllegalArgumentException` - if the object cannot be converted.

### getCapabilities

    public java.util.Vector getCapabilities(DERObjectIdentifier capability)

  returns a vector with 0 or more objects of all the capabilities matching the passed in capability OID. If the OID passed is null the entire set is returned.

### getDERObject

    public DERObject getDERObject()

  Produce an object suitable for an ASN1OutputStream.

       SMIMECapabilities ::= SEQUENCE OF SMIMECapability

  Specified by:
    `getDERObject` in interface `DEREncodable`

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