Certificate PropertiesMSBuild Extension Pack Help

The Certificate type exposes the following members.


Public propertyAccessRights
The access rights that need to be given.
Public propertyAccountName
The name of user or group that needs to be given rights on the given certificate
Public propertyBase64EncodedCertificate
Gets or sets the Base 64 Encoded string of the certificate
Public propertyCertificateExpiryDate
Gets the Certificate Exprity Date.
Public propertyCertInfo
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 propertyCertPassword
Sets the password for the pfx file from which the certificate is to be imported, defaults to blank
Public propertyDistinguishedName
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 propertyExportable
Sets a value indicating whether the certificate is exportable.
Public propertyFileName
Sets the name of the file.
Public propertyMachineStore
Sets a value indicating whether to use the MachineStore. Default is false
Public propertyStoreName
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 propertySubjectDName
The distinguished subject name of the certificate
Public propertyThumbprint
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
See Also