Certificate Properties

MSBuild Extension Pack

Certificate Properties MSBuild Extension Pack Help 4.0.12.0

The Certificate type exposes the following members.

Properties

  Name Description
Public property AccessRights
The access rights that need to be given.
Public property AccountName
The name of user or group that needs to be given rights on the given certificate
Public property Base64EncodedCertificate
Gets or sets the Base 64 Encoded string of the certificate
Public property CertificateExpiryDate
Gets the Certificate Exprity Date.
Public property CertInfo
Gets the item which contains the Certificate information. The following Metadata is populated: SubjectName, SignatureAlgorithm, SubjectNameOidValue, SerialNumber, Archived, NotAfter, NotBefore, FriendlyName, HasPrivateKey, Thumbprint, Version, PrivateKeyFileName, IssuerName
Public property CertPassword
Sets the password for the pfx file from which the certificate is to be imported, defaults to blank
Public property DistinguishedName
Gets the Distinguished Name for the certificate used to to uniquely identify certificate in further tasks. The distinguished name can be used in place of thumbprint to identify a certificate
Public property Exportable
Sets a value indicating whether the certificate is exportable.
Public property FileName
Sets the name of the file.
Public property MachineStore
Sets a value indicating whether to use the MachineStore. Default is false
Public property StoreName
Sets the name of the store. Defaults to My

AddressBook: The store for other users
AuthRoot: The store for third-party certificate authorities
CertificateAuthority: The store for intermediate certificate authorities
Disallowed: The store for revoked certificates
My: The store for personal certificates
Root: The store for trusted root certificate authorities
TrustedPeople: The store for directly trusted people and resources
TrustedPublisher: The store for directly trusted publishers

Public property SubjectDName
The distinguished subject name of the certificate
Public property Thumbprint
Gets the thumbprint. Used to uniquely identify certificate in further tasks The thumprint can be used in place of distinguished name to identify a certificate
Top
See Also

Reference