TlsSignatureScheme Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
Uniformly represents TLS 1.3 'signature scheme' and TLS 1.2 'signature algorithm'. Signature schemes can be set using the SetSignatureSchemes(TlsSignatureScheme[]) method.
Syntax
public sealed class TlsSignatureScheme : IEquatable<TlsSignatureScheme>
Implements
Inherited Members
Remarks
Signature schemes are sent during the TLS handshake in the 'signature_algorithms' extension.
See section 4.2.3 of RFC 8446 for details (TLS 1.3).
See section 7.4.1.4.1 of RFC 5246 for details (TLS 1.2).
Constructors
Name | Description |
---|---|
TlsSignatureScheme(String) | Initializes a new instance of the Rebex.Net.TlsSignatureScheme.Tls12SignatureScheme. |
Properties
Name | Description |
---|---|
Dsa_sha1 | Legacy signature algorithm. Gets the DSA signature algorithm with the SHA-1 hash algorithm. |
Ecdsa_secp256r1_sha256 | Gets the ECDSA signature algorithm with the secp256r1 (NIST P-256) elliptic curve and the SHA-256 hash algorithm. |
Ecdsa_secp384r1_sha384 | Gets the ECDSA signature algorithm with the secp384r1 (NIST P-384) elliptic curve and the SHA-384 hash algorithm. |
Ecdsa_secp521r1_sha512 | Gets the ECDSA signature algorithm with the secp521r1 (NIST P-521) elliptic curve and the SHA-512 hash algorithm. |
Ecdsa_sha1 | Legacy signature algorithm. Gets the ECDSA signature algorithm with the SHA-1 hash algorithm. |
Ed25519 | Gets the EdDSA signature algorithm with X25519. |
IsAvailableInTLS12 | Gets the indication whether the signature scheme, which this instance of the TlsSignatureScheme represents, is available in TLS 1.2 and on the current platform. |
IsAvailableInTLS13 | Gets the indication whether the signature scheme, which this instance of the TlsSignatureScheme represents, is available in TLS 1.3 and on the current platform. |
Name | Gets a signature scheme name. |
Rsa_pkcs1_sha1 | Legacy signature algorithm. Gets the RSASSA-PKCS1-v1_5 signature algorithm with the SHA-1 hash algorithm. |
Rsa_pkcs1_sha256 | Gets the RSASSA-PKCS1-v1_5 signature algorithm with the SHA-256 hash algorithm. |
Rsa_pkcs1_sha384 | Gets the RSASSA-PKCS1-v1_5 signature algorithm with the SHA-384 hash algorithm. |
Rsa_pkcs1_sha512 | Gets the RSASSA-PKCS1-v1_5 signature algorithm with the SHA-512 hash algorithm. |
Rsa_pss_rsae_sha256 | Gets the RSASSA-PSS signature algorithm with the mask generation function 1 and the SHA-256 hash algorithm. If the public key is carried in an X.509 certificate, it must use the rsaEncryption OID. |
Rsa_pss_rsae_sha384 | Gets the RSASSA-PSS signature algorithm with the mask generation function 1 and the SHA-384 hash algorithm. If the public key is carried in an X.509 certificate, it must use the rsaEncryption OID. |
Rsa_pss_rsae_sha512 | Gets the RSASSA-PSS signature algorithm with the mask generation function 1 and the SHA-512 hash algorithm. If the public key is carried in an X.509 certificate, it must use the rsaEncryption OID. |
Methods
Name | Description |
---|---|
Equals(TlsSignatureScheme) | Determines whether the specified |
Equals(Object) | Determines whether the specified |
GetHashCode() | Gets a hash code of this object. |
ToString() | Returns a string representation of the current TlsSignatureScheme. |