Class PemObject

java.lang.Object
org.bouncycastle.util.io.pem.PemObject
org.cryptacular.pem.PemObject
All Implemented Interfaces:
org.bouncycastle.util.io.pem.PemObjectGenerator

public final class PemObject extends org.bouncycastle.util.io.pem.PemObject
Container for PEM encoded data.
Author:
Middleware Services
  • Constructor Details

    • PemObject

      public PemObject(Descriptor descriptorParam, byte[] content)
      Generic constructor for object without headers.
      Parameters:
      descriptorParam - Descriptor on the content (i.e. RFC governing PEM format, type etc.)
      content - The binary content of the object.
    • PemObject

      public PemObject(Descriptor descriptorParam, List<org.bouncycastle.util.io.pem.PemHeader> headers, byte[] content)
      Generic constructor for object with headers.
      Parameters:
      descriptorParam - Descriptor on the content (i.e. RFC governing PEM format, type etc.)
      headers - A list of PemHeader objects.
      content - The binary content of the object.
  • Method Details