C# Class IdentityServer4.Contrib.AzureKeyVaultTokenSigningService.AzureKeyVaultSignatureProvider

Inheritance: System.IdentityModel.Tokens.SignatureProvider
Show file Open project: MattCotterellNZ/IdentityServer.Contrib.AzureKeyVaultTokenSigningService Class Usage Examples

Public Methods

Method Description
AzureKeyVaultSignatureProvider ( string keyIdentifier, string algorithm, KeyVaultClient keyVaultAuthenticationCallback ) : System

Sign ( byte input ) : byte[]
Verify ( byte input, byte signature ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AzureKeyVaultSignatureProvider() public method

RSNULL is not allowed in this scenario. Supplied value is not a currently supported JsonWebKeySignatureAlgorithm value.
public AzureKeyVaultSignatureProvider ( string keyIdentifier, string algorithm, KeyVaultClient keyVaultAuthenticationCallback ) : System
keyIdentifier string
algorithm string A valid and supported value. Note: is not supported.
keyVaultAuthenticationCallback KeyVaultClient
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Sign() public method

public Sign ( byte input ) : byte[]
input byte
return byte[]

Verify() public method

public Verify ( byte input, byte signature ) : bool
input byte
signature byte
return bool