xadesjs
Version:
XML Advanced Electronic Signatures (XAdES) implementation in TypeScript/JavaScript built on XMLDSIGjs
33 lines (32 loc) • 1.38 kB
TypeScript
import { CanonicalizationMethod } from 'xmldsigjs';
import { EncapsulatedTimeStampCollection, Include, XMLTimeStampCollection } from './generic_time_stamp.js';
import { XadesObject } from './xml_base.js';
/**
* Represents the <XAdESTimeStamp> element of an XML signature.
*
* ```xml
* <xsd:element name="XAdESTimeStamp" type="XAdESTimeStampType"/>
* <xsd:complexType name="XAdESTimeStampType">
* <xsd:complexContent>
* <xsd:restriction base="GenericTimeStampType">
* <xsd:sequence>
* <xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
* <xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
* <xsd:choice maxOccurs="unbounded">
* <xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
* <xsd:element name="XMLTimeStamp" type="AnyType"/>
* </xsd:choice>
* </xsd:sequence>
* <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
* </xsd:restriction>
* </xsd:complexContent>
* </xsd:complexType>
* ```
*/
export declare class XAdESTimeStamp extends XadesObject {
Id: string;
Include: Include;
CanonicalizationMethod: CanonicalizationMethod;
EncapsulatedTimeStamp: EncapsulatedTimeStampCollection;
XMLTimeStamp: XMLTimeStampCollection;
}