RsaSignatureCookieTransform.Encode(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Signs the specified data.
public:
override cli::array <System::Byte> ^ Encode(cli::array <System::Byte> ^ value);
public override byte[] Encode (byte[] value);
override this.Encode : byte[] -> byte[]
Public Overrides Function Encode (value As Byte()) As Byte()
Parameters
- value
- Byte[]
The data to be signed.
Returns
The signed data.
Exceptions
value
is null
.
value
contains zero bytes.
The SigningKey property is null
.
-or-
The key specified by the SigningKey property is not assignable as RSACryptoServiceProvider.
-or-
The key specified by the SigningKey property does not contain a private key.
The operating system does not support the specified algorithm.
Remarks
The key specified by the SigningKey property must include the private key in order to sign the data.
The signed data may be verified by calling the Decode method.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για