public class MOAConnector extends Object implements ISignatureConnector
Modifier and Type | Field and Description |
---|---|
static String |
CMS_REQUEST |
static String |
CMSSIGNATURE |
static String |
CONTENT_PATTERN |
static String |
ERRORCODE |
static String |
ERRORRESPONSE |
static String |
FAULTCODE |
static String |
FAULTSTRING |
static String |
KEY_ID_PATTERN |
static String |
MOA_SIGN_CERTIFICATE |
static String |
MOA_SIGN_KEY_ID |
static String |
MOA_SIGN_URL |
Constructor and Description |
---|
MOAConnector(Configuration config) |
Modifier and Type | Method and Description |
---|---|
iaik.x509.X509Certificate |
getCertificate(SignParameter parameter) |
byte[] |
sign(byte[] input,
int[] byteRange,
SignParameter parameter) |
public static final String MOA_SIGN_URL
public static final String MOA_SIGN_KEY_ID
public static final String MOA_SIGN_CERTIFICATE
public static final String KEY_ID_PATTERN
public static final String CONTENT_PATTERN
public static final String FAULTCODE
public static final String FAULTSTRING
public static final String ERRORRESPONSE
public static final String ERRORCODE
public static final String CMSSIGNATURE
public static final String CMS_REQUEST
public MOAConnector(Configuration config) throws CertificateException, FileNotFoundException, IOException
public iaik.x509.X509Certificate getCertificate(SignParameter parameter) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
getCertificate
in interface ISignatureConnector
at.gv.egiz.pdfas.common.exceptions.PdfAsException
public byte[] sign(byte[] input, int[] byteRange, SignParameter parameter) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
sign
in interface ISignatureConnector
at.gv.egiz.pdfas.common.exceptions.PdfAsException