Class SignatureAndHashAlgorithm
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
RFC 5246 7.4.1.4.1
public sealed class SignatureAndHashAlgorithm
- Inheritance
-
SignatureAndHashAlgorithm
- Inherited Members
Constructors
SignatureAndHashAlgorithm(short, short)
public SignatureAndHashAlgorithm(short hash, short signature)
Parameters
Fields
ecdsa_brainpoolP256r1tls13_sha256
public static readonly SignatureAndHashAlgorithm ecdsa_brainpoolP256r1tls13_sha256
Field Value
ecdsa_brainpoolP384r1tls13_sha384
public static readonly SignatureAndHashAlgorithm ecdsa_brainpoolP384r1tls13_sha384
Field Value
ecdsa_brainpoolP512r1tls13_sha512
public static readonly SignatureAndHashAlgorithm ecdsa_brainpoolP512r1tls13_sha512
Field Value
ed25519
public static readonly SignatureAndHashAlgorithm ed25519
Field Value
ed448
public static readonly SignatureAndHashAlgorithm ed448
Field Value
gostr34102012_256
public static readonly SignatureAndHashAlgorithm gostr34102012_256
Field Value
gostr34102012_512
public static readonly SignatureAndHashAlgorithm gostr34102012_512
Field Value
rsa_pss_pss_sha256
public static readonly SignatureAndHashAlgorithm rsa_pss_pss_sha256
Field Value
rsa_pss_pss_sha384
public static readonly SignatureAndHashAlgorithm rsa_pss_pss_sha384
Field Value
rsa_pss_pss_sha512
public static readonly SignatureAndHashAlgorithm rsa_pss_pss_sha512
Field Value
rsa_pss_rsae_sha256
public static readonly SignatureAndHashAlgorithm rsa_pss_rsae_sha256
Field Value
rsa_pss_rsae_sha384
public static readonly SignatureAndHashAlgorithm rsa_pss_rsae_sha384
Field Value
rsa_pss_rsae_sha512
public static readonly SignatureAndHashAlgorithm rsa_pss_rsae_sha512
Field Value
Properties
Hash
public short Hash { get; }
Property Value
Signature
public short Signature { get; }
Property Value
Methods
Encode(Stream)
Encode this SignatureAndHashAlgorithm to a Stream.
public void Encode(Stream output)
Parameters
Exceptions
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInstance(short, short)
public static SignatureAndHashAlgorithm GetInstance(short hashAlgorithm, short signatureAlgorithm)
Parameters
Returns
Parse(Stream)
Parse a SignatureAndHashAlgorithm from a Stream.
public static SignatureAndHashAlgorithm Parse(Stream input)
Parameters
Returns
Exceptions
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.