Class X509PemStringsSecret

All Implemented Interfaces:
Cloneable

public class X509PemStringsSecret extends AbstractX509PemSecret
Secret based on inline PEM-encoded X.509 certificates and key.
  • Field Details

    • PREFIX

      public static final String PREFIX
      Prefix used to encode secret type as strings.
      See Also:
    • cert

      protected String cert
      The local certificate.
    • key

      protected String key
      The local certificate key.
  • Constructor Details

    • X509PemStringsSecret

      public X509PemStringsSecret(String encodedstring)
    • X509PemStringsSecret

      public X509PemStringsSecret(String cert, String key)
      Creates the secret.
      Parameters:
      cert - Path to the local certificate.
      key - Path to the local certificate key.
      cacert - Path to the trust anchor certificate.
  • Method Details