Class X509PemFilesSecret

All Implemented Interfaces:
Cloneable

public class X509PemFilesSecret extends AbstractX509PemSecret
Secret based on PEM-encoded X.509 certificate files 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

    • X509PemFilesSecret

      public X509PemFilesSecret(String encodedstring)
    • X509PemFilesSecret

      public X509PemFilesSecret(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