Class PrivateKey

java.lang.Object
io.deephaven.dhservice.client.config.PrivateKey

@Immutable(builder=false) public abstract class PrivateKey extends Object
A PKCS#8 private key in PEM format.
  • Constructor Details

    • PrivateKey

      public PrivateKey()
  • Method Details

    • value

      @Parameter public abstract byte[] value()
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • toInputStream

      public final ByteArrayInputStream toInputStream()
      Equivalent to new ByteArrayInputStream(value()).
      Returns:
      the byte array input stream