SMIMECapabilityVector (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1.smime

## Class SMIMECapabilityVector

- java.lang.Object
- - org.bouncycastle.asn1.smime.SMIMECapabilityVector

-     public class SMIMECapabilityVector
      extends java.lang.Object

  Handler for creating a vector S/MIME Capabilities

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMIMECapabilityVector()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCapability(ASN1ObjectIdentifier capability)`
    `void` | `addCapability(ASN1ObjectIdentifier capability, ASN1Encodable params)`
    `void` | `addCapability(ASN1ObjectIdentifier capability, int value)`
    `ASN1EncodableVector` | `toASN1EncodableVector()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMIMECapabilityVector

          public SMIMECapabilityVector()

  - ### Method Detail

    - #### addCapability

          public void addCapability(ASN1ObjectIdentifier capability)

    - #### addCapability

          public void addCapability(ASN1ObjectIdentifier capability,
                                    int value)

    - #### addCapability

          public void addCapability(ASN1ObjectIdentifier capability,
                                    ASN1Encodable params)

    - #### toASN1EncodableVector

          public ASN1EncodableVector toASN1EncodableVector()