RSA.Decrypt Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| Decrypt(Byte[], RSAEncryptionPadding) |
Wanneer deze worden overschreven in een afgeleide klasse, ontsleutelt u de invoergegevens met behulp van de opgegeven opvullingsmodus. |
| Decrypt(ReadOnlySpan<Byte>, RSAEncryptionPadding) |
Ontsleutelt de invoergegevens met behulp van de opgegeven opvullingsmodus. |
| Decrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding) |
Ontsleutelt de invoergegevens met behulp van de opgegeven opvullingsmodus. |
Decrypt(Byte[], RSAEncryptionPadding)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Wanneer deze worden overschreven in een afgeleide klasse, ontsleutelt u de invoergegevens met behulp van de opgegeven opvullingsmodus.
public:
virtual cli::array <System::Byte> ^ Decrypt(cli::array <System::Byte> ^ data, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public:
abstract cli::array <System::Byte> ^ Decrypt(cli::array <System::Byte> ^ data, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public virtual byte[] Decrypt(byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding);
public abstract byte[] Decrypt(byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding);
abstract member Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
override this.Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
abstract member Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
Public Overridable Function Decrypt (data As Byte(), padding As RSAEncryptionPadding) As Byte()
Public MustOverride Function Decrypt (data As Byte(), padding As RSAEncryptionPadding) As Byte()
Parameters
- data
- Byte[]
De gegevens die moeten worden ontsleuteld.
- padding
- RSAEncryptionPadding
De opvullingsmodus.
Retouren
De ontsleutelde gegevens.
Uitzonderingen
data of padding is null.
Een afgeleide klasse moet deze methode overschrijven.
padding is onbekend of wordt niet ondersteund door deze implementatie.
– of –
De lengte van data is niet gelijk aan het aantal bytes voor KeySize.
– of –
Dit exemplaar vertegenwoordigt alleen een openbare sleutel.
– of –
De ontsleutelingsbewerking is mislukt.
Zie ook
Van toepassing op
Decrypt(ReadOnlySpan<Byte>, RSAEncryptionPadding)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Ontsleutelt de invoergegevens met behulp van de opgegeven opvullingsmodus.
public:
cli::array <System::Byte> ^ Decrypt(ReadOnlySpan<System::Byte> data, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public byte[] Decrypt(ReadOnlySpan<byte> data, System.Security.Cryptography.RSAEncryptionPadding padding);
member this.Decrypt : ReadOnlySpan<byte> * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
Public Function Decrypt (data As ReadOnlySpan(Of Byte), padding As RSAEncryptionPadding) As Byte()
Parameters
- data
- ReadOnlySpan<Byte>
De gegevens die moeten worden ontsleuteld.
- padding
- RSAEncryptionPadding
De opvullingsmodus.
Retouren
De ontsleutelde gegevens.
Uitzonderingen
padding is null.
padding is onbekend of wordt niet ondersteund door deze implementatie.
– of –
De ontsleutelingsbewerking is mislukt.
Deze implementatie heeft geen van Decrypt(Byte[], RSAEncryptionPadding) of TryDecrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32).
Zie ook
- Decrypt(Byte[], RSAEncryptionPadding)
- Decrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding)
- TryDecrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32)
Van toepassing op
Decrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Ontsleutelt de invoergegevens met behulp van de opgegeven opvullingsmodus.
public:
int Decrypt(ReadOnlySpan<System::Byte> data, Span<System::Byte> destination, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public int Decrypt(ReadOnlySpan<byte> data, Span<byte> destination, System.Security.Cryptography.RSAEncryptionPadding padding);
member this.Decrypt : ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.RSAEncryptionPadding -> int
Public Function Decrypt (data As ReadOnlySpan(Of Byte), destination As Span(Of Byte), padding As RSAEncryptionPadding) As Integer
Parameters
- data
- ReadOnlySpan<Byte>
De gegevens die moeten worden ontsleuteld.
- padding
- RSAEncryptionPadding
De opvullingsmodus.
Retouren
Het totale aantal bytes dat naar destination.
Uitzonderingen
padding is null.
De buffer in destination is te klein om de ontsleutelde gegevens op te slaan.
padding is onbekend of wordt niet ondersteund door deze implementatie.
– of –
De ontsleutelingsbewerking is mislukt.
Deze implementatie heeft geen van Decrypt(Byte[], RSAEncryptionPadding) of TryDecrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32).
Zie ook
- Decrypt(Byte[], RSAEncryptionPadding)
- Decrypt(ReadOnlySpan<Byte>, RSAEncryptionPadding)
- TryDecrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32)