SignatureType Property
Specifies the kind of signature to be created.
Syntax
public var signatureType: AsicsignerSignatureTypes
public enum class AsicsignerSignatureTypes(val value: Int) {
castUnknown(0),
castCAdES(1),
castXAdES(2),
castTimestamp(3);
}
Default Value
1
Remarks
Use this property to specify the desired signature type: CAdE, XAdES, or Timestamp.
Note that a simple (ASiC-S) container can only contain one CAdES signature, and/or one XAdES signature, and/or one Timestamp. An ASiC-E container can include multiple CAdES, XAdES, or Timestamp elements. Use Extended to specify the type of container to create.
castUnknown | 0 |
castCAdES | 1 |
castXAdES | 2 |
castTimestamp | 3 |