Sign() public method

Signs the specified data with the key.
public Sign ( byte data ) : byte[]
data byte The data to sign.
return byte[]
 /// <summary>
 /// Signs the specified data.
 /// </summary>
 /// <param name="data">The data.</param>
 /// <returns>
 /// Signed data.
 /// </returns>
 public override byte[] Sign(byte[] data)
 {
     return(new SignatureKeyData(Name, Key.Sign(data)).GetBytes());
 }