Adds certificate template to issue by a specified Certification Authority server. The method do not writes newly assigned
templates to Certification Authority.
Namespace:
PKI.CertificateServices
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public bool Add(
CertificateTemplate template
)
Public Function Add (
template As CertificateTemplate
) As Boolean
public:
bool Add(
CertificateTemplate^ template
)
member Add :
template : CertificateTemplate -> bool
Parameters
- template
- Type: PKI.CertificateTemplatesCertificateTemplate
An CertificateTemplate object to add.
Return Value
Type:
BooleanTrue if certificate template is added; otherwise
False.
Exceptions Remarks
This method returns
False in the following circumstances:
- Current CA server already contains specified certificate template in the issuance list.
- Specified certificate template is not supported by this CA version.
If the method returns
True, a
IsModified property is set to
True.
See Also