PublisherIdentityPermissionAttribute.X509Certificate Propriedade

Definição

Obtém ou define um certificado X.509v3 Authenticode que identifica o publicador do código de chamada.Gets or sets an Authenticode X.509v3 certificate that identifies the publisher of the calling code.

public:
 property System::String ^ X509Certificate { System::String ^ get(); void set(System::String ^ value); };
public string X509Certificate { get; set; }
member this.X509Certificate : string with get, set
Public Property X509Certificate As String

Valor da propriedade

String

Uma representação hexadecimal do certificado X. 509.A hexadecimal representation of the X.509 certificate.

Comentários

Se essa propriedade for definida, CertFile e SignedFile serão ignoradas.If this property is set, CertFile and SignedFile are ignored.

Você pode obter a representação hexadecimal executando a ferramenta de nome forte (Sn.exe) com as opções de token e chave pública (SN -TP keyfile ) em um arquivo que tem uma assinatura Authenticode.You can obtain the hexadecimal representation by running the Strong Name tool (Sn.exe) with the token and public key options (Sn -tp keyfile) against a file that has an Authenticode signature. Para obter mais informações, consulte Sn.exe (Strong Name Tool).For more information, see Sn.exe (Strong Name Tool).

Aplica-se a