Initializes the new VirgilAccessTokenSigner
VirgilCrypto instance, providing implementation of crypto operations.
Generates digital signature of the given access token using the given private key.
The access token bytes.
The private key object.
Returns an identifier of the algorithm used for signature calculation and verification.
The algorithm identifier. Currently 'VEDS512'
Verifies the validity of the given signature for the given token and public key.
The token.
The signature.
The signer's public key.
true
if signature is valid, otherwise false
Class implementing cryptographic operations required to sign and verify the validity of access tokens (i.e. the
IAccessTokenSigner
interface from virgil-sdk), using VirgilCrypto.