signatureConsistencyCheck

Tests whether the key is consistent for signatures; whether a signature can be created and then verified

static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
bool
signatureConsistencyCheck

Parameters

rng RandomNumberGenerator

the rng to use

key PrivateKey

the key to test

padding string

the signature padding method to use

Return Value

Type: bool

true if consistent otherwise false

Meta