Click or drag to resize

PkcsSignerInfoBuilder Class

This class is used to construct a PkcsSignerInfo object from input data.
Inheritance Hierarchy

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
public sealed class PkcsSignerInfoBuilder

The PkcsSignerInfoBuilder type exposes the following members.

Public methodPkcsSignerInfoBuilder
Initializes a new instance of PkcsSignerInfoBuilder class.
Public methodPkcsSignerInfoBuilder(PkcsSignerInfo)
Initializes a new instance of PkcsSignerInfoBuilder class from existing signer information. All data from existing signer information is copied to builder.
Public propertyAuthenticatedAttributes
Gets the X509AttributeCollection collection of signed attributes that is associated with the signer information. Signed attributes are signed along with the rest of the message content.
Public propertyContentType
Gets or sets the object identifier that identifies the content type.
Public propertySubjectIdentifier
Gets or sets the subject identifier type used to identify the signer in signer info element. Default value is IssuerAndSerialNumber.
Public propertyUnauthenticatedAttributes
Gets the X509AttributeCollection collection of unsigned attributes that is associated with the PkcsSignerInfo content. Unsigned attributes can be modified without invalidating the signature.
Public propertyVersion
Gets the signer information version. Default version Version 1.
Public methodAddAuthenticatedAttribute
Adds authenticated attribute. Authenticated attribute will be protected from tampering by digitally signing its contents.
Public methodAddUnauthenticatedAttribute
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.
Public methodEncode
Encodes and signs the content using the signer object used in
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSign
Signs authenticated attributes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also