PkcsSignerInfoBuilder Class |
Namespace: SysadminsLV.PKI.Cryptography.Pkcs
The PkcsSignerInfoBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | PkcsSignerInfoBuilder |
Initializes a new instance of PkcsSignerInfoBuilder class.
|
![]() | PkcsSignerInfoBuilder(PkcsSignerInfo) |
Initializes a new instance of PkcsSignerInfoBuilder class from existing signer information. All data from existing
signer information is copied to builder.
|
Name | Description | |
---|---|---|
![]() | AuthenticatedAttributes |
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.
|
![]() | ContentType |
Gets or sets the object identifier that identifies the content type.
|
![]() | SubjectIdentifier |
Gets or sets the subject identifier type used to identify the signer in signer info element. Default value is
IssuerAndSerialNumber.
|
![]() | UnauthenticatedAttributes |
Gets the X509AttributeCollection collection of unsigned attributes that is associated with
the PkcsSignerInfo content. Unsigned attributes can be modified without invalidating the
signature.
|
![]() | Version |
Gets the signer information version. Default version Version 1.
|
Name | Description | |
---|---|---|
![]() | AddAuthenticatedAttribute |
Adds authenticated attribute. Authenticated attribute will be protected from tampering by digitally signing its contents.
|
![]() | AddUnauthenticatedAttribute |
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.
|
![]() | Encode |
Encodes and signs the content using the signer object used in
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Sign |
Signs authenticated attributes.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |