Interface PemCredentialConfiguration
- All Superinterfaces:
BaseCredentialConfiguration
- All Known Implementing Classes:
PemCredentialConfigurationProperties
Configuration interface for creating a
PkiCredential
using
PEM-encoded certificate(s)/public keys and private keys.- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionLocation or content of the certificate or certificate chain in PEM format.Password used to decrypt an encrypted private key.Location or content of the private key in PEM format.Location or content of the public key in PEM format.
-
Method Details
-
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
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
Password used to decrypt an encrypted private key.- Returns:
- key password
-