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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, 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).booleanDeprecated, for removal: This API element is subject to removal in a future version.Predicate that tells whether any of the deprecated properties are set.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanisEmpty()Deprecated, for removal: This API element is subject to removal in a future version.Predicate that returnstrueif this object is "empty", meaning that no settings have been applied.voidDeprecated, for removal: This API element is subject to removal in a future version.Moves deprecated properties into the pem or jks properties.voidsetPin(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 returnstrueif 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:
 trueif 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
 - 
equals
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 equalsin classPkiCredentialConfigurationProperties
 - 
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 hashCodein classPkiCredentialConfigurationProperties
 
 - 
 
se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationPropertiesclass instead.