Class SignatureExplorer
Inheritance
SignatureExplorer
Assembly: Lacuna.RestPki.Client.dll
Syntax
public abstract class SignatureExplorer
Constructors
SignatureExplorer(RestPkiClient)
Declaration
public SignatureExplorer(RestPkiClient client)
Parameters
Fields
Client
Declaration
protected RestPkiClient Client
Field Value
Properties
AcceptableExplicitPolicies
List of explicit policies that should be accepted when validating signatures with a explicit validation policy attribute.
If a signature being validated has an explicit validation policy attribute which is not among the values passed, then the
policy specified in DefaultSignaturePolicyId is used. In order to accept only the given list of explicit policies, omit
the value DefaultSignaturePolicyId.
Declaration
public SignaturePolicyCatalog AcceptableExplicitPolicies { get; set; }
Property Value
DefaultSignaturePolicyId
Default signature policy to be used to validate signature. This value is used to validate signatures without an
explicit validation policy attribute and also signatures with an explicit validation policy attribute that is not
among the policies specified in AcceptableExplicitPolicies. In order to accept only a certain list of explicit
policies, this value should be omitted.
Declaration
public Guid? DefaultSignaturePolicyId { get; set; }
Property Value
IgnoreRevocationStatusUnknown
Whether validation errors due to the revocation status of a certificate being
unknown should be ignored. Defaults to false.
Declaration
public bool IgnoreRevocationStatusUnknown { get; set; }
Property Value
SecurityContextId
Declaration
public Guid? SecurityContextId { get; set; }
Property Value
TrustUncertifiedSigningTime
Declaration
public bool TrustUncertifiedSigningTime { get; set; }
Property Value
Validate
Declaration
public bool Validate { get; set; }
Property Value
Methods
FillRequest(OpenSignatureRequestModel)
Declaration
protected virtual OpenSignatureRequestModel FillRequest(OpenSignatureRequestModel request)
Parameters
Type |
Name |
Description |
Lacuna.RestPki.Api.Signature.OpenSignatureRequestModel |
request |
|
Returns
Type |
Description |
Lacuna.RestPki.Api.Signature.OpenSignatureRequestModel |
|
FillRequestAsync(OpenSignatureRequestModel)
Declaration
protected virtual Task<OpenSignatureRequestModel> FillRequestAsync(OpenSignatureRequestModel request)
Parameters
Type |
Name |
Description |
Lacuna.RestPki.Api.Signature.OpenSignatureRequestModel |
request |
|
Returns
Type |
Description |
Task<Lacuna.RestPki.Api.Signature.OpenSignatureRequestModel> |
|
SetSignatureFile(BlobReference)
Declaration
public void SetSignatureFile(BlobReference fileBlob)
Parameters
SetSignatureFile(FileResult)
Declaration
public void SetSignatureFile(FileResult fileResult)
Parameters
SetSignatureFile(Byte[])
Declaration
public void SetSignatureFile(byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
content |
|
SetSignatureFile(Stream)
Declaration
public void SetSignatureFile(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
SetSignatureFile(String)
Declaration
public void SetSignatureFile(string path)
Parameters
Type |
Name |
Description |
String |
path |
|