Module.GetSignerCertificate Método

Definición

Devuelve un objeto X509Certificate que corresponde al certificado incluido en la firma Authenticode del ensamblado al que pertenece este módulo.Returns an X509Certificate object corresponding to the certificate included in the Authenticode signature of the assembly which this module belongs to. Si el ensamblado no se ha firmado mediante Authenticode, se devuelve null.If the assembly has not been Authenticode signed, null is returned.

public:
 System::Security::Cryptography::X509Certificates::X509Certificate ^ GetSignerCertificate();
public:
 virtual System::Security::Cryptography::X509Certificates::X509Certificate ^ GetSignerCertificate();
public System.Security.Cryptography.X509Certificates.X509Certificate GetSignerCertificate ();
public virtual System.Security.Cryptography.X509Certificates.X509Certificate GetSignerCertificate ();
member this.GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
abstract member GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
override this.GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
Public Function GetSignerCertificate () As X509Certificate
Public Overridable Function GetSignerCertificate () As X509Certificate

Devoluciones

X509Certificate

Objeto X509Certificate, o null si el ensamblado al que este módulo pertenece no se ha firmado mediante Authenticode.An X509Certificate object, or null if the assembly to which this module belongs has not been Authenticode signed.

Se aplica a