Module io.github.mmm.crypto.bc
Class SignatureFactoryEcBc<S extends SignatureEcBc>
- java.lang.Object
-
- io.github.mmm.crypto.asymmetric.sign.ec.bc.SignatureFactoryEcBc<S>
-
- Type Parameters:
S
- type ofSignatureBinary
.
- All Implemented Interfaces:
SignatureFactory<S>
- Direct Known Subclasses:
SignatureFactoryEcBcPlain
,SignatureFactoryEcBcWithRecoveryId
public abstract class SignatureFactoryEcBc<S extends SignatureEcBc> extends Object implements SignatureFactory<S>
Implementation ofSignatureFactory
forSignatureEcBc
.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected CryptoEllipticCurveBc
curve
Theelliptic curve
.
-
Constructor Summary
Constructors Constructor Description SignatureFactoryEcBc(CryptoEllipticCurveBc curve)
The constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract S
create(BigInteger r, BigInteger s, byte[] message, org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.crypto.asymmetric.sign.SignatureFactory
createSignature
-
-
-
-
Field Detail
-
curve
protected final CryptoEllipticCurveBc curve
Theelliptic curve
.
-
-
Constructor Detail
-
SignatureFactoryEcBc
public SignatureFactoryEcBc(CryptoEllipticCurveBc curve)
The constructor.- Parameters:
curve
- theelliptic curve
.
-
-
Method Detail
-
create
public abstract S create(BigInteger r, BigInteger s, byte[] message, org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey)
-
-