Package pt.gov.cartaodecidadao
Interface PTEID_SigningDevice
-
- All Known Implementing Classes:
PTEID_Card
,PTEID_CMDSignatureClient
,PTEID_EIDCard
,PTEID_SigningDeviceProxy
,PTEID_SmartCard
public interface PTEID_SigningDevice
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PTEID_Certificate
getAuthentication()
PTEID_Certificate
getCA()
PTEID_Certificate
getCert(PTEID_CertifType type)
PTEID_Certificates
getCertificates()
PTEID_SigningDeviceType
getDeviceType()
PTEID_Certificate
getRoot()
PTEID_Certificate
getSignature()
long
PTEID_SigningDevice_GetInterfaceCPtr()
PTEID_ByteArray
Sign(PTEID_ByteArray data)
PTEID_ByteArray
Sign(PTEID_ByteArray data, boolean signatureKey)
void
SignASiC(java.lang.String path)
void
SignASiC(java.lang.String path, PTEID_SignatureLevel level)
int
SignPDF(PTEID_PDFSignature sig_handler, int page, double coord_x, double coord_y, java.lang.String location, java.lang.String reason, java.lang.String outfile_path)
int
SignPDF(PTEID_PDFSignature sig_handler, int page, int page_sector, boolean is_landscape, java.lang.String location, java.lang.String reason, java.lang.String outfile_path)
PTEID_ByteArray
SignSHA256(PTEID_ByteArray data)
PTEID_ByteArray
SignSHA256(PTEID_ByteArray data, boolean signatureKey)
PTEID_ByteArray
SignXades(java.lang.String output_path, java.lang.String[] paths, long n_paths)
PTEID_ByteArray
SignXades(java.lang.String output_path, java.lang.String[] paths, long n_paths, PTEID_SignatureLevel level)
PTEID_ByteArray
SignXadesA(java.lang.String output_path, java.lang.String[] paths, long n_paths)
void
SignXadesAIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths)
void
SignXadesIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths)
PTEID_ByteArray
SignXadesT(java.lang.String output_path, java.lang.String[] paths, long n_paths)
void
SignXadesTIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths)
-
-
-
Method Detail
-
PTEID_SigningDevice_GetInterfaceCPtr
long PTEID_SigningDevice_GetInterfaceCPtr()
-
Sign
PTEID_ByteArray Sign(PTEID_ByteArray data, boolean signatureKey) throws PTEID_Exception
- Throws:
PTEID_Exception
-
Sign
PTEID_ByteArray Sign(PTEID_ByteArray data) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignSHA256
PTEID_ByteArray SignSHA256(PTEID_ByteArray data, boolean signatureKey) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignSHA256
PTEID_ByteArray SignSHA256(PTEID_ByteArray data) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXades
PTEID_ByteArray SignXades(java.lang.String output_path, java.lang.String[] paths, long n_paths, PTEID_SignatureLevel level) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXades
PTEID_ByteArray SignXades(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXadesT
PTEID_ByteArray SignXadesT(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXadesA
PTEID_ByteArray SignXadesA(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXadesIndividual
void SignXadesIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXadesTIndividual
void SignXadesTIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignXadesAIndividual
void SignXadesAIndividual(java.lang.String output_path, java.lang.String[] paths, long n_paths) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignASiC
void SignASiC(java.lang.String path, PTEID_SignatureLevel level)
-
SignASiC
void SignASiC(java.lang.String path)
-
SignPDF
int SignPDF(PTEID_PDFSignature sig_handler, int page, int page_sector, boolean is_landscape, java.lang.String location, java.lang.String reason, java.lang.String outfile_path) throws PTEID_Exception
- Throws:
PTEID_Exception
-
SignPDF
int SignPDF(PTEID_PDFSignature sig_handler, int page, double coord_x, double coord_y, java.lang.String location, java.lang.String reason, java.lang.String outfile_path) throws PTEID_Exception
- Throws:
PTEID_Exception
-
getCertificates
PTEID_Certificates getCertificates() throws PTEID_Exception
- Throws:
PTEID_Exception
-
getCert
PTEID_Certificate getCert(PTEID_CertifType type) throws PTEID_Exception
- Throws:
PTEID_Exception
-
getRoot
PTEID_Certificate getRoot() throws PTEID_Exception
- Throws:
PTEID_Exception
-
getCA
PTEID_Certificate getCA() throws PTEID_Exception
- Throws:
PTEID_Exception
-
getSignature
PTEID_Certificate getSignature() throws PTEID_Exception
- Throws:
PTEID_Exception
-
getAuthentication
PTEID_Certificate getAuthentication() throws PTEID_Exception
- Throws:
PTEID_Exception
-
getDeviceType
PTEID_SigningDeviceType getDeviceType()
-
-