Class ASN1SequenceBCFips

All Implemented Interfaces:
IASN1Encodable, IASN1Primitive, IASN1Sequence
Direct Known Subclasses:
DERSequenceBCFips

public class ASN1SequenceBCFips extends ASN1PrimitiveBCFips implements IASN1Sequence
Wrapper class for ASN1Sequence.
  • Constructor Details

    • ASN1SequenceBCFips

      public ASN1SequenceBCFips (org.bouncycastle.asn1.ASN1Sequence sequence)
      Creates new wrapper instance for ASN1Sequence.
      Parameters:
      sequence - ASN1Sequence to be wrapped
    • ASN1SequenceBCFips

      public ASN1SequenceBCFips (Object obj)
      Creates new wrapper instance for ASN1Sequence.
      Parameters:
      obj - to get ASN1Sequence instance to be wrapped
  • Method Details

    • getASN1Sequence

      public org.bouncycastle.asn1.ASN1Sequence getASN1Sequence()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped ASN1Sequence.
    • getObjectAt

      public IASN1Encodable getObjectAt (int i)
      Calls actual getObjectAt method for the wrapped ASN1Sequence object.
      Specified by:
      getObjectAt in interface IASN1Sequence
      Parameters:
      i - index
      Returns:
      IASN1Encodable wrapped ASN1Encodable object.
    • getObjects

      public Enumeration getObjects()
      Calls actual getObjects method for the wrapped ASN1Sequence object.
      Specified by:
      getObjects in interface IASN1Sequence
      Returns:
      received objects.
    • size

      public int size()
      Calls actual size method for the wrapped ASN1Sequence object.
      Specified by:
      size in interface IASN1Sequence
      Returns:
      sequence size.
    • toArray

      public IASN1Encodable[] toArray()
      Calls actual toArray method for the wrapped ASN1Sequence object.
      Specified by:
      toArray in interface IASN1Sequence
      Returns:
      array of wrapped ASN1Encodable objects.