C# Class Renci.SshNet.Security.Key

Base class for asymmetric cipher algorithms
Afficher le fichier Open project: sshnet/SSH.NET Class Usage Examples

Protected Properties

Свойство Type Description
_privateKey BigInteger[]

Méthodes publiques

Méthode Description
Sign ( byte data ) : byte[]

Signs the specified data with the key.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

Méthodes protégées

Méthode Description
Key ( ) : System

Initializes a new instance of the Key class.

Key ( byte data ) : System

Initializes a new instance of the Key class.

Method Details

Key() protected méthode

Initializes a new instance of the Key class.
protected Key ( ) : System
Résultat System

Key() protected méthode

Initializes a new instance of the Key class.
protected Key ( byte data ) : System
data byte DER encoded private key data.
Résultat System

Sign() public méthode

Signs the specified data with the key.
public Sign ( byte data ) : byte[]
data byte The data to sign.
Résultat byte[]

VerifySignature() public méthode

Verifies the signature.
public VerifySignature ( byte data, byte signature ) : bool
data byte The data to verify.
signature byte The signature to verify against.
Résultat bool

Property Details

_privateKey protected_oe property

Specifies array of big integers that represent private key
protected BigInteger[] _privateKey
Résultat BigInteger[]