Click or drag to resize

SignedContentBlob Class

This class represents an encoded content to be signed and a BLOB to hold the signature. The ToBeSignedData member is an encoded X.509 certificate, certificate revocation list (CRL), certificate trust list (CTL) or certificate request.
Inheritance Hierarchy
SystemObject
  SysadminsLV.PKI.CryptographySignedContentBlob

Namespace:  SysadminsLV.PKI.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public class SignedContentBlob

The SignedContentBlob type exposes the following members.

Constructors
  NameDescription
Public methodSignedContentBlob
Initializes a new instance of the SignedContentBlob class from a ASN.1-encoded byte array.
Top
Properties
  NameDescription
Public propertyBlobType
Gets the current blob type.
Public propertySignature
BLOB containing a signed hash of the encoded data.
Public propertySignatureAlgorithm
An AlgorithmIdentifier object that contains the signature algorithm type and any associated additional parameters.
Public propertyToBeSignedData
A BLOB that has been encoded by using Distinguished Encoding Rules (DER) and that is to be signed.
Top
Methods
  NameDescription
Public methodEncode
Encodes current object to ASN-encoded signed blob object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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 methodHash
Hashes current blob in ToBeSignedData member, constructs algorithm identifier (usually, with "NoSign" suffix) and attaches hash value in the signature section.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSign(MessageSigner)
Signs ToBeSignedData data by using client-provided message signer.
Public methodSign(X509Certificate2, Oid)
Signs ToBeSignedData data with specified signer certificate and hash algorithm
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also