Class Ed448phSigner
- Namespace
- Org.BouncyCastle.Crypto.Signers
- Assembly
- BouncyCastle.Cryptography.dll
public class Ed448phSigner : ISigner
- Inheritance
-
Ed448phSigner
- Implements
- Inherited Members
Constructors
Ed448phSigner(byte[])
public Ed448phSigner(byte[] context)
Parameters
contextbyte[]
Properties
AlgorithmName
The algorithm name.
public virtual string AlgorithmName { get; }
Property Value
Methods
BlockUpdate(byte[], int, int)
Update the signer with a block of bytes.
public virtual void BlockUpdate(byte[] buf, int off, int len)
Parameters
BlockUpdate(ReadOnlySpan<byte>)
Update the signer with a span of bytes.
public virtual void BlockUpdate(ReadOnlySpan<byte> input)
Parameters
inputReadOnlySpan<byte>the span containing the data.
GenerateSignature()
Generate a signature for the message we've been loaded with using the key we were initialised with.
public virtual byte[] GenerateSignature()
Returns
- byte[]
A byte array containing the signature for the message.
GetMaxSignatureSize()
public virtual int GetMaxSignatureSize()
Returns
Init(bool, ICipherParameters)
Initialise the signer for signing or verification.
public virtual void Init(bool forSigning, ICipherParameters parameters)
Parameters
forSigningbooltrue if for signing, false otherwise.
parametersICipherParametersnecessary parameters.
Reset()
Reset the signer back to its initial state.
public void Reset()
Update(byte)
Update the signer with a single byte.
public virtual void Update(byte b)
Parameters
bbyte
VerifySignature(byte[])
Return true if the internal state represents the signature described in the passed in array.
public virtual bool VerifySignature(byte[] signature)
Parameters
signaturebyte[]an array containing the candidate signature to verify.
Returns
- bool
true if the internal state represents the signature described in the passed in array.