Class PkiCredentialConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
A utility class that can be used as a configuration properties object for representing a credential (for Spring
Boot).
- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PkiCredentialConfigurationProperties
public PkiCredentialConfigurationProperties()
-
-
Method Details
-
setPin
public void setPin(char[] pin) Assigns the PIN (which is the same askeyPassword
. Used mainly for PKCS#11.- Parameters:
pin
- the PIN
-
getPin
public char[] getPin()Gets the PIN (which is the same askeyPassword
). Used mainly for PKCS#11.- Returns:
- the PIN
-
isEmpty
public boolean isEmpty()Predicate that returnstrue
if this object is "empty", meaning that no settings have been applied.- Returns:
- true if empty and false otherwise
-