Package sop.operation
Interface VerifySignatures
-
- All Known Subinterfaces:
Verify
- All Known Implementing Classes:
VerifyImpl
public interface VerifySignatures
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<Verification>
data(byte[] data)
Provide the signed data (without signatures).List<Verification>
data(InputStream data)
Provide the signed data (without signatures).
-
-
-
Method Detail
-
data
List<Verification> data(InputStream data) throws IOException, SOPGPException.NoSignature, SOPGPException.BadData
Provide the signed data (without signatures).- Parameters:
data
- signed data- Returns:
- list of signature verifications
- Throws:
IOException
- in case of an IO errorSOPGPException.NoSignature
- when no signature is foundSOPGPException.BadData
- when the data is invalid OpenPGP data
-
data
default List<Verification> data(byte[] data) throws IOException, SOPGPException.NoSignature, SOPGPException.BadData
Provide the signed data (without signatures).- Parameters:
data
- signed data- Returns:
- list of signature verifications
- Throws:
IOException
- in case of an IO errorSOPGPException.NoSignature
- when no signature is foundSOPGPException.BadData
- when the data is invalid OpenPGP data
-
-