Constructeur RsaSignatureCookieTransform (X509Certificate2)
Creates a new instance of RsaSignatureCookieTransform
Espace de noms: Microsoft.IdentityModel.Web
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim certificate As X509Certificate2 Dim instance As New RsaSignatureCookieTransform(certificate)
Syntaxe
'Déclaration
Public Sub New ( _
certificate As X509Certificate2 _
)
public RsaSignatureCookieTransform (
X509Certificate2 certificate
)
public:
RsaSignatureCookieTransform (
X509Certificate2^ certificate
)
public RsaSignatureCookieTransform (
X509Certificate2 certificate
)
public function RsaSignatureCookieTransform (
certificate : X509Certificate2
)
Paramètres
- certificate
Certificate whose private key is used to sign
Exceptions
Type d'exception | Condition |
---|---|
ArgumentNullException | When certificate is null |
ArgumentException | When the certificate has no private key -or- When the certificate's key is not RSA |
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe RsaSignatureCookieTransform
Membres RsaSignatureCookieTransform
Espace de noms Microsoft.IdentityModel.Web