S - type of SignatureBinary.public class SignatureProcessorFactoryImplEcBc<S extends SignatureEcBc> extends AbstractSecurityAlgorithm implements SignatureProcessorFactory<S,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey>
SignatureProcessorFactory for SignatureEcBc.| Modifier and Type | Field and Description |
|---|---|
private SignatureConfigEcDsa<S> |
config |
| Constructor and Description |
|---|
SignatureProcessorFactoryImplEcBc(SignatureConfigEcDsa<S> config)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private static org.bouncycastle.crypto.Digest |
createDigest(String algorithm) |
S |
createSignature(byte[] data) |
String |
getAlgorithm() |
SignatureProcessorFactory<S,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey> |
getSignatureFactoryWithoutHash() |
private HashCreator |
newPreHashCreator() |
SignatureSigner<S> |
newSigner(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey) |
SignatureVerifier<S> |
newVerifier(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey) |
creationFailedException, creationFailedException, creationFailedException, creationFailedException, getAlgorithm, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewSignerUnsafe, newVerifierUnsafeprivate final SignatureConfigEcDsa<S extends SignatureEcBc> config
public SignatureProcessorFactoryImplEcBc(SignatureConfigEcDsa<S> config)
config - the SignatureConfig.public String getAlgorithm()
getAlgorithm in interface CryptoAlgorithmprivate HashCreator newPreHashCreator()
public SignatureSigner<S> newSigner(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey)
newSigner in interface SignatureProcessorFactory<S extends SignatureEcBc,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey>private static org.bouncycastle.crypto.Digest createDigest(String algorithm)
public SignatureVerifier<S> newVerifier(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey)
newVerifier in interface SignatureProcessorFactory<S extends SignatureEcBc,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey>public S createSignature(byte[] data)
createSignature in interface SignatureFactory<S extends SignatureEcBc>public SignatureProcessorFactory<S,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey> getSignatureFactoryWithoutHash()
getSignatureFactoryWithoutHash in interface SignatureProcessorFactory<S extends SignatureEcBc,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey>Copyright © 2001–2019 mmm-Team. All rights reserved.