X509CertificateTrustListEntryAddAttribute Method |
Adds new cryptographic attribute associated with the current certificate trust list item.
Namespace:
SysadminsLV.PKI.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public void AddAttribute(
X509Attribute attribute
)
Public Sub AddAttribute (
attribute As X509Attribute
)
public:
void AddAttribute(
X509Attribute^ attribute
)
member AddAttribute :
attribute : X509Attribute -> unit
Parameters
- attribute
- Type: System.Security.CryptographyX509Attribute
Cryptographic attribute to add.
Exceptions Exception | Condition |
---|
ArgumentNullException | attribute parameter is null. |
Remarks
If current list of attributes already contains attribute with same OID as in attribute parameter,
existing attribute is overwritten with new one. Two or more attributes of same type are not allowed.
See Also