Class Certificates
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Certificates
- All Implemented Interfaces:
Serializable
The certificate configurations contain file paths relative to
Always specify
${TRUSTBOKER_HOME}/keystore.
Files can contain a certificate for trust checks and
optionally a private key required for signing. The following formats are supported and the files should have this
as extensions:
- pem: OpenSSL compatible text representation
- p12: PKCS12 keystore format
- jks: Java specific keystore format (not recommended)
Always specify
$PKI_PASSPHRASEfor passwords as a place-holder for the key decryption passphrase to be passed to the running XTB process.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCertificates(SignerKeystore signerKeystore, SignerTruststore signerTruststore, SignerKeystore encryptionKeystore, SignerTruststore encryptionTruststore, SignerKeystore backendKeystore, SignerTruststore backendTruststore, SignerKeystore artifactResolutionKeystore, SignerTruststore artifactResolutionTruststore) Creates a newCertificatesinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDeprecated.Use backendKeystoreDeprecated.Use backendTruststoreKeystore for encryption.Truststore for encryption verification.Keystore for signing.Truststore for signature verification.inthashCode()voidsetArtifactResolutionKeystore(SignerKeystore artifactResolutionKeystore) Deprecated.Use backendKeystorevoidsetArtifactResolutionTruststore(SignerTruststore artifactResolutionTruststore) Deprecated.Use backendTruststorevoidsetBackendKeystore(SignerKeystore backendKeystore) Keystore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).voidsetBackendTruststore(SignerTruststore backendTruststore) Truststore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).voidsetEncryptionKeystore(SignerKeystore encryptionKeystore) Keystore for encryption.voidsetEncryptionTruststore(SignerTruststore encryptionTruststore) Truststore for encryption verification.voidsetSignerKeystore(SignerKeystore signerKeystore) Keystore for signing.voidsetSignerTruststore(SignerTruststore signerTruststore) Truststore for signature verification.toString()
-
Constructor Details
-
Certificates
public Certificates() -
Certificates
public Certificates(SignerKeystore signerKeystore, SignerTruststore signerTruststore, SignerKeystore encryptionKeystore, SignerTruststore encryptionTruststore, SignerKeystore backendKeystore, SignerTruststore backendTruststore, SignerKeystore artifactResolutionKeystore, SignerTruststore artifactResolutionTruststore) Creates a newCertificatesinstance.- Parameters:
signerKeystore- Keystore for signing.signerTruststore- Truststore for signature verification.encryptionKeystore- Keystore for encryption.encryptionTruststore- Truststore for encryption verification.backendKeystore- Keystore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).backendTruststore- Truststore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).artifactResolutionKeystore- @deprecated Use backendKeystoreartifactResolutionTruststore- @deprecated Use backendTruststore- Since:
- 1.9.0, 1.9.0
-
-
Method Details
-
getBackendKeystore
-
getBackendTruststore
-
builder
-
getSignerKeystore
Keystore for signing. -
getSignerTruststore
Truststore for signature verification. -
getEncryptionKeystore
Keystore for encryption. -
getEncryptionTruststore
Truststore for encryption verification. -
getArtifactResolutionKeystore
Deprecated.Use backendKeystore -
getArtifactResolutionTruststore
Deprecated.Use backendTruststore -
setSignerKeystore
Keystore for signing. -
setSignerTruststore
Truststore for signature verification. -
setEncryptionKeystore
Keystore for encryption. -
setEncryptionTruststore
Truststore for encryption verification. -
setBackendKeystore
Keystore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).- Since:
- 1.9.0
-
setBackendTruststore
Truststore for backend connections (via SAML the artifact resolution or OIDC metadata protocol).- Since:
- 1.9.0
-
setArtifactResolutionKeystore
Deprecated.Use backendKeystore -
setArtifactResolutionTruststore
@Deprecated public void setArtifactResolutionTruststore(SignerTruststore artifactResolutionTruststore) Deprecated.Use backendTruststore -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-