PkcsSignerInfoBuilderAddUnauthenticatedAttribute Method
Adds unauthenticated attribute. Unlike authenticated attribute, unauthenticated attributes are not protected by signer's signature.
Unauthenticated attributes are replaceable. Such attributes are counter-signing and timestamp. These attributes are informative or
provide their own integrity mechanisms.
Namespace: SysadminsLV.PKI.Cryptography.PkcsAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public void AddUnauthenticatedAttribute(
Pkcs9AttributeObject attribute
)
Public Sub AddUnauthenticatedAttribute (
attribute As Pkcs9AttributeObject
)
public:
void AddUnauthenticatedAttribute(
Pkcs9AttributeObject^ attribute
)
member AddUnauthenticatedAttribute :
attribute : Pkcs9AttributeObject -> unit
Parameters
- attribute Pkcs9AttributeObject
-
An attribute that must be protected by digital signature.
If same attribute (with same object identifier) is already presented in collection, it will be overwritten with attribute in the
attribute parameter.