PublicKey.GetRSAPublicKey Metod

Definition

Hämtar den RSA offentliga nyckeln eller null om nyckeln inte är en RSA-nyckel.

public:
 System::Security::Cryptography::RSA ^ GetRSAPublicKey();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.RSA? GetRSAPublicKey();
public System.Security.Cryptography.RSA? GetRSAPublicKey();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetRSAPublicKey : unit -> System.Security.Cryptography.RSA
member this.GetRSAPublicKey : unit -> System.Security.Cryptography.RSA
Public Function GetRSAPublicKey () As RSA

Returer

RSA

Den offentliga nyckeln eller null om nyckeln inte är en RSA-nyckel.

Attribut

Undantag

Nyckelinnehållet är skadat eller kunde inte läsas korrekt.

Gäller för