@Deprecated
public interface PdfAs
Create an Object implementing this interface using the proper factory.
@Deprecated SignResult sign(SignParameters signParameters) throws PdfAsException
signParameters
- The sign parameters.PdfAsException
- Thrown, if an error occurs.SignParameters
,
SignResult
@Deprecated SignResult sign(SignParameters signParameters, SignatureDetailInformation signatureDetailInformation) throws PdfAsException
SignatorInformation
which was obtained by a call to prepareSign(SignParameters)
signParameters
- The sign parameters.signatureDetailInformation
- The signature information which was previously obtained by a call to prepareSign(SignParameters)
PdfAsException
- Thrown, if an error occurs.SignParameters
,
SignResult
@Deprecated VerifyResults verify(VerifyParameters verifyParameters) throws PdfAsException
verifyParameters
- The verify parameters.PdfAsException
- Thrown, if an error occurs.VerifyParameters
,
VerifyResults
,
VerifyResult
@Deprecated AnalyzeResult analyze(AnalyzeParameters analyzeParameters) throws PdfAsException
analyzeParameters
- The analyzation parameters.PdfAsException
- Thrown on error.AnalyzeParameters
,
AnalyzeResult
,
#verify(AnalyzeResult)}
@Deprecated ReconstructXMLDsigResult reconstructXMLDSIG(ReconstructXMLDsigParameters reconstructXMLDsigParameters) throws PdfAsException
reconstructXMLDsigParameters
- The data from which to reconstruct the xmldsigPdfAsException
- if the reconstruction fails@Deprecated ReconstructXMLDsigResult reconstructXMLDSIG(ReconstructXMLDsigAfterAnalysisParameters reconstructXMLDsigParameters) throws PdfAsException
reconstructXMLDsigParameters
- The data from which to reconstruct the xmldsigsPdfAsException
@Deprecated VerifyResults verify(VerifyAfterAnalysisParameters verifyAfterAnalysisParameters) throws PdfAsException
verifyAfterAnalysisParameters
- The parameters.PdfAsException
- Thrown on error.AnalyzeResult
,
VerifyAfterAnalysisParameters
,
VerifyResults
,
VerifyResult
,
#analyze(AnalyzeParameters)}
@Deprecated VerifyResults verify(VerifyAfterReconstructXMLDsigParameters verifyAfterReconstructXMLDsigParameters) throws PdfAsException
verifyAfterReconstructXMLDsigParameters
- The parameters.PdfAsException
- Thrown on error.@Deprecated void reloadConfig() throws PdfAsException
PdfAsException
- Thrown, if an error occurs.@Deprecated java.util.List getProfileInformation() throws PdfAsException
Note: Currently the profile information consists of the profile Id and the MOA Key Id only.
Note: In near future the profile management will be moved out of the config file into an API class representation of the profiles which may render this (and related) methods obsolete.
SignatureProfile
objects with
information about active profiles available in the configuration.PdfAsException
- Thrown on error.SignatureProfile
@Deprecated DynamicSignatureProfile createDynamicSignatureProfile(java.lang.String parentProfile, DynamicSignatureLifetimeEnum mode)
SignatureProfile
.parentProfile
- a parent profile id to inherit all propertiesmode
- lifetime mode@Deprecated DynamicSignatureProfile createDynamicSignatureProfile(java.lang.String myUniqueName, java.lang.String parentProfile, DynamicSignatureLifetimeEnum mode)
SignatureProfile
.
It is recommended to use createDynamicSignatureProfile(String, DynamicSignatureLifetimeEnum)
that generates
a unique name on its own.parentProfile
- a parent profile id to inherit all propertiesmyUniqueName
- a unique name for the profilemode
- lifetime modeDynamicSignatureProfile
@Deprecated DynamicSignatureProfile createEmptyDynamicSignatureProfile(DynamicSignatureLifetimeEnum mode)
SignatureProfile
.
createDynamicSignatureProfile(String, DynamicSignatureLifetimeEnum)
that inherits from an
existing profile saving you a lot of work.mode
- lifetime modeDynamicSignatureProfile
@Deprecated DynamicSignatureProfile createEmptyDynamicSignatureProfile(java.lang.String myUniqueName, DynamicSignatureLifetimeEnum mode)
SignatureProfile
.
createDynamicSignatureProfile(String, DynamicSignatureLifetimeEnum)
that inherits from an
existing profile saving you a lot of work.myUniqueName
- a unique name for the profilemode
- lifetime mode@Deprecated DynamicSignatureProfile loadDynamicSignatureProfile(java.lang.String profileName)
DynamicSignatureLifetimeEnum.MANUAL
profileName
- null
if not found.DynamicSignatureProfile
@Deprecated SignatureDetailInformation prepareSign(SignParameters signParameters) throws PdfAsException
signParameters
- The sign parameters.SignatureDetailInformation.getSignaturePosition()
, SignatureDetailInformation.getNonTextualObjects()
, SignatureDetailInformation.getSignatureData()
are filled.PdfAsException
- if something goes wrong during the process@Deprecated SignResult finishSign(SignParameters signParameters, SignatureDetailInformation signatureDetailInformation) throws PdfAsException
signParameters
- The sign parameters.signatureDetailInformation
- The signature detail information.PdfAsException