TspRfc3161RequestAddExtension Method |
Adds an optional extension to TSP request.
Namespace:
SysadminsLV.PKI.Cryptography
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public bool AddExtension(
X509Extension extension
)
Public Function AddExtension (
extension As X509Extension
) As Boolean
public:
bool AddExtension(
X509Extension^ extension
)
member AddExtension :
extension : X509Extension -> bool
Parameters
- extension
- Type: System.Security.Cryptography.X509CertificatesX509Extension
Extension to add.
Return Value
Type:
BooleanTrue if extension was added to request, otherwise
False.
Remarks
This method returns False when same extension is already added to the list.
See Also