Module io.github.mmm.crypto
Class SignatureConfigEcDsa<S extends SignatureBinary>
- java.lang.Object
-
- io.github.mmm.crypto.CryptoConfig
-
- io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
-
- io.github.mmm.crypto.asymmetric.sign.SignatureConfig<S>
-
- io.github.mmm.crypto.asymmetric.sign.ec.SignatureConfigEcDsa<S>
-
- Type Parameters:
S- type ofSignatureBinary.
- All Implemented Interfaces:
CryptoAlgorithm
public class SignatureConfigEcDsa<S extends SignatureBinary> extends SignatureConfig<S>
SignatureConfigforRsa.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGORITHM_ECDSAThealgorithmname "ECDSA".-
Fields inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
algorithm
-
Fields inherited from class io.github.mmm.crypto.CryptoConfig
provider
-
-
Constructor Summary
Constructors Constructor Description SignatureConfigEcDsa(SignatureFactory<S> signatureFactory, HashConfig hashConfig, SecurityProvider provider)The constructor.SignatureConfigEcDsa(SignatureFactory<S> signatureFactory, HashConfig hashConfig, String hashAlgorithm, SecurityProvider provider)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureConfigEcDsa<S>withoutHashConfig()-
Methods inherited from class io.github.mmm.crypto.asymmetric.sign.SignatureConfig
getHashConfig, getSignatureAlgorithm, getSignatureFactory
-
Methods inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
getAlgorithm
-
Methods inherited from class io.github.mmm.crypto.CryptoConfig
getProvider
-
-
-
-
Field Detail
-
ALGORITHM_ECDSA
public static final String ALGORITHM_ECDSA
Thealgorithmname "ECDSA".- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignatureConfigEcDsa
public SignatureConfigEcDsa(SignatureFactory<S> signatureFactory, HashConfig hashConfig, SecurityProvider provider)
The constructor.- Parameters:
signatureFactory- thesignature factory.hashConfig- theHashConfigto be used ashashing config.provider- theprovider.
-
SignatureConfigEcDsa
public SignatureConfigEcDsa(SignatureFactory<S> signatureFactory, HashConfig hashConfig, String hashAlgorithm, SecurityProvider provider)
The constructor.- Parameters:
signatureFactory- thesignature factory.hashConfig- theHashConfigto be used ashashing config.hashAlgorithm- thehash algorithm.provider- theprovider.
-
-
Method Detail
-
withoutHashConfig
public SignatureConfigEcDsa<S> withoutHashConfig()
- Overrides:
withoutHashConfigin classSignatureConfig<S extends SignatureBinary>- Returns:
- a copy of this
SignatureConfigwithouthash config(set tonull).
-
-