Class DEROctetStringBC

All Implemented Interfaces:
IASN1Encodable, IASN1OctetString, IASN1Primitive, IDEROctetString

public class DEROctetStringBC extends ASN1OctetStringBC implements IDEROctetString
Wrapper class for DEROctetString.
  • Constructor Details

    • DEROctetStringBC

      public DEROctetStringBC (byte[] bytes)
      Creates new wrapper instance for DEROctetString.
      Parameters:
      bytes - byte array to create DEROctetString to be wrapped
    • DEROctetStringBC

      public DEROctetStringBC (org.bouncycastle.asn1.DEROctetString octetString)
      Creates new wrapper instance for DEROctetString.
      Parameters:
      octetString - DEROctetString to be wrapped
  • Method Details

    • getDEROctetString

      public org.bouncycastle.asn1.DEROctetString getDEROctetString()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped DEROctetString.