Class CertificateHostAlgorithm
Implements certificate support for host algorithm.
public class CertificateHostAlgorithm : HostAlgorithm
- Inheritance
-
CertificateHostAlgorithm
- Inherited Members
Constructors
CertificateHostAlgorithm(string)
Initializes a new instance of the CertificateHostAlgorithm class.
public CertificateHostAlgorithm(string name)
Parameters
name
stringThe host key name.
Properties
Data
Gets the host key data.
public override byte[] Data { get; }
Property Value
- byte[]
Methods
Sign(byte[])
Signs the specified data.
public override byte[] Sign(byte[] data)
Parameters
data
byte[]The data.
Returns
- byte[]
Signed data.
Exceptions
- NotImplementedException
Always.
VerifySignature(byte[], byte[])
Verifies the signature.
public override bool VerifySignature(byte[] data, byte[] signature)
Parameters
Returns
Exceptions
- NotImplementedException
Always.