Interface IPdfHandler
Assembly: Lacuna.Pki.dll
Syntax
[Obsolete("There is no need for setting an external Pdf Handler")]
public interface IPdfHandler
Properties
CanHandleDss
Declaration
bool CanHandleDss { get; }
Property Value
CanHandleVisualRepresentation
Declaration
bool CanHandleVisualRepresentation { get; }
Property Value
Methods
AddTimestamp(ITimestampRequester)
Declaration
void AddTimestamp(ITimestampRequester tsRequester)
Parameters
AddToDss(IEnumerable<DssEntry>)
Declaration
void AddToDss(IEnumerable<DssEntry> entries)
Parameters
CreateSignatureDictionary(PadesFilters)
Declaration
void CreateSignatureDictionary(PadesFilters filter)
Parameters
Finalize(Byte[])
Declaration
void Finalize(byte[] cms)
Parameters
Type |
Name |
Description |
Byte[] |
cms |
|
GenarateRangeBytes(Int32)
Declaration
Stream GenarateRangeBytes(int estimatedCmsLength)
Parameters
Type |
Name |
Description |
Int32 |
estimatedCmsLength |
|
Returns
GetBlankSignaturesNames()
Declaration
ICollection<string> GetBlankSignaturesNames()
Returns
GetCertificateStoreFromDss()
Declaration
ICertificateStore GetCertificateStoreFromDss()
Returns
GetDss(String)
Declaration
Dss GetDss(string signatureFieldName = null)
Parameters
Type |
Name |
Description |
String |
signatureFieldName |
|
Returns
GetRangeBytes(String)
Declaration
byte[] GetRangeBytes(string signatureFieldName)
Parameters
Type |
Name |
Description |
String |
signatureFieldName |
|
Returns
GetSignatureFieldName()
Declaration
string GetSignatureFieldName()
Returns
GetSignedPdf()
Declaration
Returns
GetSigners()
Declaration
ICollection<PadesSignerInfo> GetSigners()
Returns
SetCertificationLevel(PadesCertificationLevel)
Declaration
void SetCertificationLevel(PadesCertificationLevel level)
Parameters
SetPdf(Byte[])
Declaration
Parameters
Type |
Name |
Description |
Byte[] |
pdf |
|
SetSigningDateM(DateTimeOffset)
Declaration
void SetSigningDateM(DateTimeOffset signingDate)
Parameters
SetVisualRepresentation(PadesVisualRepresentation, Nullable<DateTimeOffset>)
Declaration
void SetVisualRepresentation(PadesVisualRepresentation visual, DateTimeOffset? signingTime)
Parameters