Class SignerTruststore
java.lang.Object
swiss.trustbroker.federation.xmlconfig.SignerStore
swiss.trustbroker.federation.xmlconfig.SignerTruststore
- All Implemented Interfaces:
Serializable
Truststore configuration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSignerTruststore.SignerTruststoreBuilder<C extends SignerTruststore,B extends SignerTruststore.SignerTruststoreBuilder<C, B>> Nested classes/interfaces inherited from class swiss.trustbroker.federation.xmlconfig.SignerStore
SignerStore.SignerStoreBuilder<C extends SignerStore,B extends SignerStore.SignerStoreBuilder<C, B>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a newSignerTruststoreinstance.protected -
Method Summary
Modifier and TypeMethodDescriptionstatic SignerTruststore.SignerTruststoreBuilder<?, ?> builder()protected booleanbooleangetAlias()If the store contains multiple objects and a specific one shall be used.Path of the certificate.If the store format cannot be derived from the file extension.Path of the key.Password for the store.inthashCode()voidIf the store contains multiple objects and a specific one shall be used.voidsetCertPath(String certPath) Path of the certificate.voidsetCertType(String certType) If the store format cannot be derived from the file extension.voidsetKeyPath(String keyPath) Path of the key.voidsetPassword(String password) Password for the store.toString()Methods inherited from class swiss.trustbroker.federation.xmlconfig.SignerStore
getResolvedCertPath, getResolvedKeyPath, setResolvedCertPath, setResolvedKeyPath
-
Constructor Details
-
SignerTruststore
-
SignerTruststore
public SignerTruststore() -
SignerTruststore
public SignerTruststore(String certPath, String keyPath, String alias, String certType, String password) Creates a newSignerTruststoreinstance.- Parameters:
certPath- Path of the certificate.keyPath- Path of the key.alias- If the store contains multiple objects and a specific one shall be used.certType- If the store format cannot be derived from the file extension.password- Password for the store.
-
-
Method Details
-
builder
-
getCertPath
Path of the certificate.- Specified by:
getCertPathin classSignerStore
-
getKeyPath
Path of the key.- Specified by:
getKeyPathin classSignerStore
-
getAlias
If the store contains multiple objects and a specific one shall be used.- Specified by:
getAliasin classSignerStore
-
getCertType
If the store format cannot be derived from the file extension.- Specified by:
getCertTypein classSignerStore
-
getPassword
Password for the store.- Specified by:
getPasswordin classSignerStore
-
setCertPath
Path of the certificate. -
setKeyPath
Path of the key. -
setAlias
If the store contains multiple objects and a specific one shall be used. -
setCertType
If the store format cannot be derived from the file extension. -
setPassword
Password for the store. -
toString
- Overrides:
toStringin classSignerStore
-
equals
- Overrides:
equalsin classSignerStore
-
canEqual
- Overrides:
canEqualin classSignerStore
-
hashCode
public int hashCode()- Overrides:
hashCodein classSignerStore
-