Class PkiCredentialConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
- All Implemented Interfaces:
PkiCredentialConfiguration
@Deprecated(since="2.0.0",
forRemoval=true)
public class PkiCredentialConfigurationProperties
extends PkiCredentialConfigurationProperties
Deprecated, for removal: This API element is subject to removal in a future version.
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
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.char[]
getPin()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the PIN (which is the same askeyPassword
).boolean
Deprecated, for removal: This API element is subject to removal in a future version.Predicate that tells whether any of the deprecated properties are set.boolean
isEmpty()
Deprecated, for removal: This API element is subject to removal in a future version.Predicate that returnstrue
if this object is "empty", meaning that no settings have been applied.void
Deprecated, for removal: This API element is subject to removal in a future version.Moves deprecated properties into the pem or jks properties.void
setPin
(char[] pin) Deprecated, for removal: This API element is subject to removal in a future version.Assigns the PIN (which is the same askeyPassword
).Methods inherited from class se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
bundle, jks, pem
-
Constructor Details
-
PkiCredentialConfigurationProperties
public PkiCredentialConfigurationProperties()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setPin
public void setPin(char[] pin) Deprecated, for removal: This API element is subject to removal in a future version.Assigns the PIN (which is the same askeyPassword
). Used mainly for PKCS#11.- Parameters:
pin
- the PIN
-
getPin
public char[] getPin()Deprecated, for removal: This API element is subject to removal in a future version.Gets the PIN (which is the same askeyPassword
). Used mainly for PKCS#11.- Returns:
- the PIN
-
isEmpty
public boolean isEmpty()Deprecated, for removal: This API element is subject to removal in a future version.Predicate that returnstrue
if this object is "empty", meaning that no settings have been applied.- Returns:
- true if empty and false otherwise
-
hasDeprecatedProperties
public boolean hasDeprecatedProperties()Deprecated, for removal: This API element is subject to removal in a future version.Predicate that tells whether any of the deprecated properties are set.- Returns:
true
if deprecated properties are set
-
afterPropertiesSet
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IllegalArgumentException
-
removeDeprecated
Deprecated, for removal: This API element is subject to removal in a future version.Moves deprecated properties into the pem or jks properties.- Throws:
IllegalArgumentException
- for invalid configuration
-
se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
class instead.