Class XmlSignature
Assembly: Lacuna.Pki.dll
Syntax
public class XmlSignature : ICertificateStore
Constructors
XmlSignature(XmlElement, XmlIdResolutionTable)
Declaration
public XmlSignature(XmlElement signatureElement, XmlIdResolutionTable idResolutionTable = null)
Parameters
Properties
ArchiveTimestamps
Declaration
public List<XadesTimestamp> ArchiveTimestamps { get; }
Property Value
CertificateValues
Declaration
public List<PKCertificate> CertificateValues { get; }
Property Value
CommitmentType
Declaration
public CommitmentType CommitmentType { get; }
Property Value
CompleteCertificateRefs
Declaration
public List<CertificateReference> CompleteCertificateRefs { get; }
Property Value
CompleteRevocationRefs
Declaration
public CompleteRevocationReferences CompleteRevocationRefs { get; }
Property Value
Declaration
public DataObjectFormat DataObjectFormat { get; }
Property Value
PolicyIdentifier
Declaration
public XmlPolicyIdentifier PolicyIdentifier { get; }
Property Value
RevocationValues
Declaration
public RevocationValues RevocationValues { get; }
Property Value
SigAndRefsTimestamps
Declaration
public List<XadesTimestamp> SigAndRefsTimestamps { get; }
Property Value
SignatureAlgorithm
Declaration
public SignatureAlgorithm SignatureAlgorithm { get; set; }
Property Value
SignatureElementId
Declaration
public string SignatureElementId { get; }
Property Value
SignatureTimestamps
Declaration
public List<XadesTimestamp> SignatureTimestamps { get; }
Property Value
SignatureValue
Declaration
public byte[] SignatureValue { get; }
Property Value
SignedDetachedResourceContent
Declaration
public byte[] SignedDetachedResourceContent { get; set; }
Property Value
SignedDetachedResourceUri
Declaration
public string SignedDetachedResourceUri { get; set; }
Property Value
SignedElement
Declaration
public XmlElement SignedElement { get; }
Property Value
SignedEntityType
Declaration
public XmlSignedEntityTypes SignedEntityType { get; set; }
Property Value
SigningCertificate
Declaration
public PKCertificate SigningCertificate { get; set; }
Property Value
SigningCertificateReferences
Declaration
public List<CertificateReference> SigningCertificateReferences { get; }
Property Value
SigningTime
Declaration
public DateTimeOffset? SigningTime { get; }
Property Value
Methods
Validate(IXmlPolicyMapper, ValidationContext, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(IXmlPolicyMapper policyMapper, ValidationContext validationContext, Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Validate(IXmlPolicyMapper, Nullable<DateTimeOffset>, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(IXmlPolicyMapper policyMapper, DateTimeOffset? dateReference = default(DateTimeOffset? ), Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Validate(IXmlPolicyMapperBySignature, ValidationContext, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(IXmlPolicyMapperBySignature policyMapper, ValidationContext validationContext, Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Validate(IXmlPolicyMapperBySignature, Nullable<DateTimeOffset>, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(IXmlPolicyMapperBySignature policyMapper, DateTimeOffset? dateReference = default(DateTimeOffset? ), Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Validate(XmlPolicySpec, ValidationContext, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(XmlPolicySpec policy, ValidationContext validationContext, Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Validate(XmlPolicySpec, Nullable<DateTimeOffset>, Func<String, Byte[]>)
Declaration
public ValidationResults Validate(XmlPolicySpec policy, DateTimeOffset? dateReference = default(DateTimeOffset? ), Func<string, byte[]> detachedResourceResolver = null)
Parameters
Returns
Explicit Interface Implementations
ICertificateStore.GetCertificate(Name, BigInteger)
Declaration
PKCertificate ICertificateStore.GetCertificate(Name issuerName, BigInteger serialNumber)
Parameters
Returns
Implements
ICertificateStore.GetCertificate(Byte[])
Declaration
PKCertificate ICertificateStore.GetCertificate(byte[] keyIdentifier)
Parameters
Type |
Name |
Description |
Byte[] |
keyIdentifier |
|
Returns
Implements
ICertificateStore.GetCertificates(Name)
Declaration
List<PKCertificate> ICertificateStore.GetCertificates(Name subjectName)
Parameters
Type |
Name |
Description |
Name |
subjectName |
|
Returns
Implements