@Role public interface SignerFactory
Modifier and Type | Method and Description |
---|---|
Signer |
getInstance(boolean forSigning,
CipherParameters parameters)
Create a new initialized signer from parameters.
|
Signer |
getInstance(boolean forSigning,
CipherParameters parameters,
byte[] encoded)
Create a new initialized signer from encoded parameters.
|
Signer getInstance(boolean forSigning, CipherParameters parameters)
forSigning
- if true the signer is initialised for signing, if false for verifying.parameters
- the key and other data required by the cipher used by the signer.Signer getInstance(boolean forSigning, CipherParameters parameters, byte[] encoded)
forSigning
- if true the signer is initialised for signing, if false for verifying.parameters
- the key and other data required by the cipher used by the signer.encoded
- the signature algorithm identifier and parameters in ASN.1 encoded form.Copyright © 2004–2021 XWiki. All rights reserved.