Interface IASN1EncodableVector

All Known Implementing Classes:
ASN1EncodableVectorBC, ASN1EncodableVectorBCFips

public interface IASN1EncodableVector
This interface represents the wrapper for ASN1EncodableVector that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(IAttribute attribute)
    Calls actual add method for the wrapped ASN1EncodableVector object.
    void
    add(IASN1Primitive primitive)
    Calls actual add method for the wrapped ASN1EncodableVector object.
    void
    Calls actual add method for the wrapped ASN1EncodableVector object.
    void
    addOptional(IAttribute attribute)
    Calls actual add method for the wrapped ASN1EncodableVector object if the attribute is not null.
    void
    Calls actual add method for the wrapped ASN1EncodableVector object if the primitive is not null.
    void
    Calls actual add method for the wrapped ASN1EncodableVector object if the element is not null.
    int
    size()
    Calls actual size method for the wrapped ASN1EncodableVector object.
  • Method Details

    • add

      void add (IASN1Primitive primitive)
      Calls actual add method for the wrapped ASN1EncodableVector object.
      Parameters:
      primitive - ASN1Primitive wrapper.
    • add

      void add (IAttribute attribute)
      Calls actual add method for the wrapped ASN1EncodableVector object.
      Parameters:
      attribute - Attribute wrapper.
    • add

      void add (IAlgorithmIdentifier element)
      Calls actual add method for the wrapped ASN1EncodableVector object.
      Parameters:
      element - AlgorithmIdentifier wrapper.
    • addOptional

      void addOptional (IASN1Primitive primitive)
      Calls actual add method for the wrapped ASN1EncodableVector object if the primitive is not null.
      Parameters:
      primitive - ASN1Primitive wrapper.
    • addOptional

      void addOptional (IAttribute attribute)
      Calls actual add method for the wrapped ASN1EncodableVector object if the attribute is not null.
      Parameters:
      attribute - Attribute wrapper.
    • addOptional

      void addOptional (IAlgorithmIdentifier element)
      Calls actual add method for the wrapped ASN1EncodableVector object if the element is not null.
      Parameters:
      element - AlgorithmIdentifier wrapper.
    • size

      int size()
      Calls actual size method for the wrapped ASN1EncodableVector object.
      Returns:
      int representing current vector size