Class SignerKeystore
java.lang.Object
swiss.trustbroker.federation.xmlconfig.SignerStore
swiss.trustbroker.federation.xmlconfig.SignerKeystore
- All Implemented Interfaces:
Serializable
Keystore configuration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSignerKeystore.SignerKeystoreBuilder<C extends SignerKeystore,B extends SignerKeystore.SignerKeystoreBuilder<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 newSignerKeystoreinstance.protected -
Method Summary
Modifier and TypeMethodDescriptionstatic SignerKeystore.SignerKeystoreBuilder<?, ?> 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
-
SignerKeystore
-
SignerKeystore
public SignerKeystore() -
SignerKeystore
public SignerKeystore(String certPath, String keyPath, String alias, String certType, String password) Creates a newSignerKeystoreinstance.- 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
-