Class DefaultSignServiceSignerProvider
java.lang.Object
se.swedenconnect.signservice.signature.signer.DefaultSignServiceSignerProvider
- All Implemented Interfaces:
- SignServiceSignerProvider
Default implementation of the signer provider
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultSignServiceSignerProvider(se.swedenconnect.security.algorithms.AlgorithmRegistry algorithmRegistry) Constructor
- 
Method SummaryModifier and TypeMethodDescriptiongetSigner(String signatureAlgorithm, SignatureType signatureType) Get a sign service signer for a given signature algorithm and signature type
- 
Constructor Details- 
DefaultSignServiceSignerProviderpublic DefaultSignServiceSignerProvider(se.swedenconnect.security.algorithms.AlgorithmRegistry algorithmRegistry) Constructor- Parameters:
- algorithmRegistry- the algorithm registry used to get information about supported algorithms
 
 
- 
- 
Method Details- 
getSignerpublic SignServiceSigner getSigner(@Nonnull String signatureAlgorithm, @Nonnull SignatureType signatureType) Get a sign service signer for a given signature algorithm and signature type- Specified by:
- getSignerin interface- SignServiceSignerProvider
- Parameters:
- signatureAlgorithm- the signature algorithm to use
- signatureType- the type of signature that is being created (typically, XML, PDF or JSON)
- Returns:
- SignServiceSignerfor the given algorithm and signature type
 
 
-