Table of Contents

Class RS1024Algorithm

Namespace
JWT.Algorithms
Assembly
Coherence.JWT.dll

RSASSA-PKCS1-v1_5 using SHA-1024

public sealed class RS1024Algorithm : RSAlgorithm, IAsymmetricAlgorithm, IJwtAlgorithm
Inheritance
RS1024Algorithm
Implements
Inherited Members
Extension Methods

Constructors

RS1024Algorithm(RSA)

Creates an instance of RS1024Algorithm using the provided public key only.

public RS1024Algorithm(RSA publicKey)

Parameters

publicKey RSA

The public key for verifying the data.

Remarks

An instance created using this constructor can only be used for verifying the data, not for signing it.

RS1024Algorithm(RSA, RSA)

Creates an instance of RS1024Algorithm using the provided pair of public and private keys.

public RS1024Algorithm(RSA publicKey, RSA privateKey)

Parameters

publicKey RSA

The public key for verifying the data.

privateKey RSA

The private key for signing the data.

RS1024Algorithm(X509Certificate2)

Creates an instance using the provided certificate.

public RS1024Algorithm(X509Certificate2 cert)

Parameters

cert X509Certificate2

The certificate having a public key and an optional private key.

Properties

HashAlgorithmName

Gets name of the hashing algorithm (e.g. SHA-256/SHA-384/SHA-512).

public override HashAlgorithmName HashAlgorithmName { get; }

Property Value

HashAlgorithmName

Name

Gets algorithm name.

public override string Name { get; }

Property Value

string