Interface PemCredentialConfiguration

All Superinterfaces:
BaseCredentialConfiguration
All Known Implementing Classes:
PemCredentialConfigurationProperties

public interface PemCredentialConfiguration extends BaseCredentialConfiguration
Configuration interface for creating a PkiCredential using PEM-encoded certificate(s)/public keys and private keys.
Author:
Martin Lindström
  • Method Details

    • publicKey

      Optional<String> publicKey()
      Location or content of the public key in PEM format.

      This setting is mutually exclusive with the certificates() setting.

      Returns:
      the location or content of the public key
    • certificates

      Optional<String> certificates()
      Location or content of the certificate or certificate chain in PEM format.

      If more than one certificate is supplied, the entity certificate, i.e., the certificate holding the public key of the key pair, must be placed first.

      This setting is mutually exclusive with the publicKey() setting.

      Returns:
      the location or content of the certificate or certificate chain in PEM format
    • privateKey

      String privateKey()
      Location or content of the private key in PEM format.
      Returns:
      the location or content of the private key in PEM format
    • keyPassword

      Optional<String> keyPassword()
      Password used to decrypt an encrypted private key.
      Returns:
      key password