OfficeSignedPart Type
The component is responsible for storing a signed part of an Office document.
Remarks
An Office document may contain any number of signed parts; component contains a single one of them.
Fields
| |
ContentType String |
Specifies the content type of this signed part.
|
DigestValue Byte() |
Contains the digest value computed over this signed part.
|
HashAlgorithm String |
The hash algorithm used for signing.
| | SB_HASH_ALGORITHM_MD5 | MD5 | | SB_HASH_ALGORITHM_SHA1 | SHA1 | | SB_HASH_ALGORITHM_SHA224 | SHA224 | | SB_HASH_ALGORITHM_SHA256 | SHA256 | | SB_HASH_ALGORITHM_SHA384 | SHA384 | | SB_HASH_ALGORITHM_SHA512 | SHA512 | | SB_HASH_ALGORITHM_RIPEMD160 | RIPEMD160 | | SB_HASH_ALGORITHM_GOST_R3411_1994 | GOST1994 | | SB_HASH_ALGORITHM_WHIRLPOOL | WHIRLPOOL | | SB_HASH_ALGORITHM_SHA3_256 | SHA3_256 | | SB_HASH_ALGORITHM_SHA3_384 | SHA3_384 | | SB_HASH_ALGORITHM_SHA3_512 | SHA3_512 | |
The hash algorithm used for signing.
| | SB_HASH_ALGORITHM_MD5 | MD5 | | SB_HASH_ALGORITHM_SHA1 | SHA1 | | SB_HASH_ALGORITHM_SHA224 | SHA224 | | SB_HASH_ALGORITHM_SHA256 | SHA256 | | SB_HASH_ALGORITHM_SHA384 | SHA384 | | SB_HASH_ALGORITHM_SHA512 | SHA512 | | SB_HASH_ALGORITHM_RIPEMD160 | RIPEMD160 | | SB_HASH_ALGORITHM_GOST_R3411_1994 | GOST1994 | | SB_HASH_ALGORITHM_WHIRLPOOL | WHIRLPOOL | | SB_HASH_ALGORITHM_SHA3_256 | SHA3_256 | | SB_HASH_ALGORITHM_SHA3_384 | SHA3_384 | | SB_HASH_ALGORITHM_SHA3_512 | SHA3_512 | |
|
IsRelationshipPart Boolean |
Specifies whether this signed part is a relationship part.
|
Path String |
The path to this signed part in the document package.
|
SignatureValidationResult SignatureValidities |
The outcome of the cryptographic signature validation.
The following signature validity values are supported:
| | svtValid | 0 | The signature is valid
| svtUnknown | 1 | Signature validity is unknown
| svtCorrupted | 2 | The signature is corrupted
| svtSignerNotFound | 3 | Failed to acquire the signing certificate. The signature cannot be validated.
| svtFailure | 4 | General failure
|
|
Constructors
Creates a new Office signed part object.