메소드 | 설명 | |
---|---|---|
AddXadesObject ( |
Add a XAdES object to the signature
|
|
CheckAllHashDataInfosInIndividualDataObjectsTimeStamp ( ) : bool |
Check if the HashDataInfo of each IndividualDataObjectsTimeStamp points to existing Reference
|
|
CheckAllReferencesExistInAllDataObjectsTimeStamp ( ) : bool |
Check if there is a HashDataInfo for each reference if there is a AllDataObjectsTimeStamp
|
|
CheckArchiveTimeStampHashDataInfos ( ) : bool |
Check if all required HashDataInfos are present on ArchiveTimeStamp
|
|
CheckCertificateValuesMatchCertificateRefs ( ) : bool |
Check if CertificateValues match CertificateRefs
|
|
CheckCounterSignatures ( XadesCheckSignatureMasks counterSignatureMask ) : bool |
Perform XAdES checks on contained counter signatures. If couter signature is XMLDSIG, only XMLDSIG check (CheckSignature()) is done.
|
|
CheckCounterSignaturesReference ( ) : bool |
Counter signatures should all contain a reference to the parent signature SignatureValue element
|
|
CheckHashDataInfoOfSignatureTimeStampPointsToSignatureValue ( ) : bool |
Check if HashDataInfo of SignatureTimeStamp points to SignatureValue
|
|
CheckIfClaimedRolesOrCertifiedRolesPresentInSignerRole ( ) : bool |
Check if at least ClaimedRoles or CertifiedRoles present in SignerRole
|
|
CheckObjectReferencesInCommitmentTypeIndication ( ) : bool |
Check if each ObjectReference in CommitmentTypeIndication points to Reference element
|
|
CheckQualifyingProperties ( ) : bool |
Check that QualifyingProperties occur in one Object, check that there is only one QualifyingProperties and that signed properties occur in one QualifyingProperties element
|
|
CheckQualifyingPropertiesTarget ( ) : bool |
Check if the QualifyingProperties Target attribute points to the signature element
|
|
CheckRefsOnlyTimeStampHashDataInfos ( ) : bool |
Check if all required HashDataInfos are present on RefsOnlyTimeStamp
|
|
CheckRevocationValuesMatchRevocationRefs ( ) : bool |
Check if RevocationValues match RevocationRefs
|
|
CheckSameCertificate ( ) : bool |
Check to see if first XMLDSIG certificate has same hashvalue as first XAdES SignatureCertificate
|
|
CheckSigAndRefsTimeStampHashDataInfos ( ) : bool |
Check if all required HashDataInfos are present on SigAndRefsTimeStamp
|
|
CheckXadesCIsXadesT ( ) : bool |
Check if a XAdES-C signature is also a XAdES-T signature
|
|
CheckXadesXLIsXadesX ( ) : bool |
Check if a XAdES-XL signature is also a XAdES-X signature
|
|
CheckXmldsigSignature ( ) : bool |
Check the signature of the underlying XMLDSIG signature
|
|
ComputeSignature ( ) : void |
Copy of System.Security.Cryptography.Xml.SignedXml.ComputeSignature() which will end up calling our own GetC14NDigest with a namespace prefix for all XmlDsig nodes
|
|
GetIdElement ( |
Overridden virtual method to be able to find the nested SignedProperties element inside of the XAdES object
|
|
GetXml ( ) : |
Returns the XML representation of the this object
|
|
LoadXml ( System xmlElement ) : void |
Load state from an XML element
|
|
ValidateAgainstSchema ( ) : bool |
Validate the XML representation of the signature against the XAdES and XMLDSIG schemas
|
|
XadesCheckSignature ( XadesCheckSignatureMasks xadesCheckSignatureMasks ) : bool |
Additional tests for XAdES signatures. These tests focus on XMLDSIG verification and correct form of the XAdES XML structure (schema validation and completeness as defined by the XAdES standard). Because of the fact that the XAdES library is intentionally independent of standards like TSP (RFC3161) or OCSP (RFC2560), these tests do NOT include any verification of timestamps nor OCSP responses. These checks are important and have to be done in the application built on top of the XAdES library. |
|
XadesSignedXml ( ) : System |
Default constructor for the XadesSignedXml class
|
|
XadesSignedXml ( System signatureDocument ) : System |
Constructor for the XadesSignedXml class
|
|
XadesSignedXml ( |
Constructor for the XadesSignedXml class
|
메소드 | 설명 | |
---|---|---|
BuildDigestedReferences ( ) : void |
Copy of System.Security.Cryptography.Xml.SignedXml.BuildDigestedReferences() which will add a "ds" namespace prefix to all XmlDsig nodes
|
|
CheckHashDataInfoPointsToSignatureValue ( |
||
CheckHashDataInfosExist ( |
||
CheckHashDataInfosForTimeStamp ( |
||
CheckHashDataInfosOfArchiveTimeStamp ( |
||
CheckHashDataInfosOfRefsOnlyTimeStamp ( |
||
CheckHashDataInfosOfSigAndRefsTimeStamp ( |
||
CheckObjectReference ( |
||
GetC14NDigest ( |
We won't call System.Security.Cryptography.Xml.SignedXml.GetC14NDigest(), as we want to use our own.
|
|
GetC14NDigest ( |
Copy of System.Security.Cryptography.Xml.SignedXml.GetC14NDigest() which will add a namespace prefix to all XmlDsig nodes
|
|
GetXadesDataObject ( ) : System.Security.Cryptography.Xml.DataObject | ||
GetXadesObjectElement ( |
||
SchemaValidationHandler ( object sender, |
||
SetPrefix ( String prefix, |
||
SetSignatureStandard ( |
||
XmlValidationHandler ( object sender, |
public AddXadesObject ( |
||
xadesObject | XAdES object to add to signature | |
리턴 | void |
public CheckAllHashDataInfosInIndividualDataObjectsTimeStamp ( ) : bool | ||
리턴 | bool |
public CheckAllReferencesExistInAllDataObjectsTimeStamp ( ) : bool | ||
리턴 | bool |
public CheckArchiveTimeStampHashDataInfos ( ) : bool | ||
리턴 | bool |
public CheckCertificateValuesMatchCertificateRefs ( ) : bool | ||
리턴 | bool |
public CheckCounterSignatures ( XadesCheckSignatureMasks counterSignatureMask ) : bool | ||
counterSignatureMask | XadesCheckSignatureMasks | Check mask applied to counter signatures |
리턴 | bool |
public CheckHashDataInfoOfSignatureTimeStampPointsToSignatureValue ( ) : bool | ||
리턴 | bool |
public CheckIfClaimedRolesOrCertifiedRolesPresentInSignerRole ( ) : bool | ||
리턴 | bool |
public CheckObjectReferencesInCommitmentTypeIndication ( ) : bool | ||
리턴 | bool |
public CheckRefsOnlyTimeStampHashDataInfos ( ) : bool | ||
리턴 | bool |
public CheckRevocationValuesMatchRevocationRefs ( ) : bool | ||
리턴 | bool |
public CheckSigAndRefsTimeStampHashDataInfos ( ) : bool | ||
리턴 | bool |
public GetIdElement ( |
||
xmlDocument | Document in which to find the Id | |
idValue | string | Value of the Id to look for |
리턴 |
public LoadXml ( System xmlElement ) : void | ||
xmlElement | System | The XML element from which to load the XadesSignedXml state |
리턴 | void |
public XadesCheckSignature ( XadesCheckSignatureMasks xadesCheckSignatureMasks ) : bool | ||
xadesCheckSignatureMasks | XadesCheckSignatureMasks | Bitmask to indicate which
/// tests need to be done. This function will call a public virtual
/// methods for each bit that has been set in this mask.
/// See the |
리턴 | bool |
public XadesSignedXml ( System signatureDocument ) : System | ||
signatureDocument | System | XmlDocument used to create the instance |
리턴 | System |
public XadesSignedXml ( |
||
signatureElement | XmlElement used to create the instance | |
리턴 | System |