Class
OfficeOpenPgpSignatureInfo
OfficeIMO.Security
Evaluation of one OpenPGP signature. Trust in the signer's identity remains the caller's decision.
Inheritance
- object
- OfficeOpenPgpSignatureInfo
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 2
Constructors
public OfficeOpenPgpSignatureInfo(OfficeOpenPgpSignatureStatus status, string message, string? keyId = null, string? signingKeyFingerprint = null, string? primaryKeyFingerprint = null, IEnumerable<string>? userIds = null, DateTimeOffset? createdAt = null, string? hashAlgorithm = null, string? publicKeyAlgorithm = null, int signatureVersion = 0, int keyVersion = 0, bool isTextSignature = false) #Creates a signature evaluation.
Parameters
- status OfficeIMO.Security.OfficeOpenPgpSignatureStatus
- message string
- keyId string? = null
- signingKeyFingerprint string? = null
- primaryKeyFingerprint string? = null
- userIds System.Collections.Generic.IEnumerable<string>? = null
- createdAt System.DateTimeOffset? = null
- hashAlgorithm string? = null
- publicKeyAlgorithm string? = null
- signatureVersion int = 0
- keyVersion int = 0
- isTextSignature bool = false
Inherited Methods
Properties
public string? KeyId { get; } #Issuer key ID as 16 uppercase hex digits.
public string? SigningKeyFingerprint { get; } #Fingerprint of the key that made the signature, when it was found.
public string? PrimaryKeyFingerprint { get; } #Fingerprint of the primary key of the signer's certificate, when it was found.
public IReadOnlyList<string> UserIds { get; } #User IDs on the signer's certificate. They are claims, not verified identities.
public bool IsTextSignature { get; } #True for canonical text signatures (type 0x01).
public bool IsValid { get; } #True only when OfficeOpenPgpSignatureInfo.Status is OfficeOpenPgpSignatureStatus.Valid.