public class VerifyCMSSignatureRequestImpl extends Object implements VerifyCMSSignatureRequest
VerifyCMSSignatureRequest
.ALL_SIGNATORIES
Constructor and Description |
---|
VerifyCMSSignatureRequestImpl() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getCMSSignature()
Gets the binary CMS signature.
|
CMSDataObject |
getDataObject()
Gets the data object necessary for the verification.
|
Date |
getDateTime()
Gets the date and time for which the signature verification has to
be performed.
|
int[] |
getSignatories()
Gets the positions of signatories whose signature must be verified.
|
String |
getTrustProfileId()
Gets the profile ID of trusted certificates to be used for signature
verification.
|
void |
setCMSSignature(InputStream signature)
Sets the CMS signature to verify.
|
void |
setDataObject(CMSDataObject dataObject)
Sets the data object necessary for signature verification.
|
void |
setDateTime(Date dateTime)
Sets the date for which to verify the signature.
|
void |
setSignatories(int[] signatories)
Sets the indexes of the signatories whose signature should be verified.
|
void |
setTrustProfileId(String trustProfileId)
Sets the profile ID of trusted certificates.
|
public void setSignatories(int[] signatories)
signatories
- The indexes of the signatories whose signature should be
verified.public int[] getSignatories()
VerifyCMSSignatureRequest
getSignatories
in interface VerifyCMSSignatureRequest
public void setDateTime(Date dateTime)
dateTime
- The date for which to verify the signature.public Date getDateTime()
VerifyCMSSignatureRequest
getDateTime
in interface VerifyCMSSignatureRequest
public void setCMSSignature(InputStream signature)
signature
- The CMS signature to verify.public InputStream getCMSSignature()
VerifyCMSSignatureRequest
getCMSSignature
in interface VerifyCMSSignatureRequest
InputStream
from which the binary CMS signature
can be read.public void setDataObject(CMSDataObject dataObject)
dataObject
- The data object necessary for signature verification.public CMSDataObject getDataObject()
VerifyCMSSignatureRequest
getDataObject
in interface VerifyCMSSignatureRequest
public void setTrustProfileId(String trustProfileId)
trustProfileId
- The profile ID of trusted certificates.public String getTrustProfileId()
VerifyCMSSignatureRequest
getTrustProfileId
in interface VerifyCMSSignatureRequest
Copyright © 2016. All rights reserved.