SignatureType Property
Specifies the kind of signature to be created.
Syntax
public int getSignatureType(); public void setSignatureType(int signatureType);
Enumerated values: public final static int castUnknown = 0; public final static int castCAdES = 1; public final static int castXAdES = 2; public final static int castTimestamp = 3;
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 |
Default Value
1