public interface DataSealChecker
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<UnsealedData> |
stamp(byte[] data,
byte[] timestamp)
Puts a timestamp on sealed data to prove that it existed in that state on a certain moment in time.
|
CryptoResult<UnsealedData> |
stamp(java.io.InputStream data,
java.io.OutputStream stampedData,
byte[] timestamp)
Puts a timestamp on sealed data to prove that it existed in that state on a certain moment in time.
|
CryptoResult<UnsealedData> |
stamp(java.io.InputStream data,
java.io.OutputStream stampedData,
byte[] timestamp,
DataPipe pipe)
Puts a timestamp on sealed data to prove that it existed in that state on a certain moment in time.
|
CryptoResult<UnsealedData> |
validate(byte[] data)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> |
validate(byte[] data,
SigningCredential... signers)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> |
validate(java.io.InputStream data,
java.io.OutputStream verifiedData)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> |
validate(java.io.InputStream data,
java.io.OutputStream verifiedData,
DataPipe pipe)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> |
validate(java.io.InputStream data,
java.io.OutputStream verifiedData,
DataPipe pipe,
SigningCredential... signers)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> |
validate(java.io.InputStream data,
java.io.OutputStream verifiedData,
SigningCredential... signers)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption).
|
CryptoResult<UnsealedData> validate(byte[] data)
OCSPOption.
The updated sealed message will be available in the result object.data - sealed dataCryptoResult<UnsealedData> validate(byte[] data, SigningCredential... signers)
OCSPOption.
The updated sealed message will be available in the result object.data - sealed datasigners - - credential(s) of expected signerCryptoResult<UnsealedData> validate(java.io.InputStream data, java.io.OutputStream verifiedData)
OCSPOption.
The updated sealed message will be written into the given outputstream.
data - sealed data streamverifiedData - stream to write sealed data after processingCryptoResult<UnsealedData> validate(java.io.InputStream data, java.io.OutputStream verifiedData, SigningCredential... signers)
OCSPOption.
The updated sealed message will be written into the given outputstream.
data - sealed data streamverifiedData - stream to write sealed data after processingsigners - - credential(s) of expected signerCryptoResult<UnsealedData> validate(java.io.InputStream data, java.io.OutputStream verifiedData, DataPipe pipe)
OCSPOption.
The updated sealed message will be written into the given outputstream.
data - sealed data streamverifiedData - stream to write sealed data after processingpipe - used to store the incoming data while loading the signed info of the cms message and to retrieve a stream to update the
cms message with revocation informationCryptoResult<UnsealedData> validate(java.io.InputStream data, java.io.OutputStream verifiedData, DataPipe pipe, SigningCredential... signers)
OCSPOption.
The updated sealed message will be written into the given outputstream.
data - sealed data streamverifiedData - stream to write sealed data after processingpipe - used to store the incoming data while loading the signed info of the cms message and to retrieve a stream to update the
cms message with revocation informationsigners - - credential(s) of expected signerCryptoResult<UnsealedData> stamp(byte[] data, byte[] timestamp)
data - sealed datatimestamp - timestamp on signature of sealed dataCryptoResult<UnsealedData> stamp(java.io.InputStream data, java.io.OutputStream stampedData, byte[] timestamp)
data - sealed datastampedData - on success, the sealed data with embedded timestamptimestamp - timestamp on signature of sealed dataCryptoResult<UnsealedData> stamp(java.io.InputStream data, java.io.OutputStream stampedData, byte[] timestamp, DataPipe pipe)
data - sealed datastampedData - on success, the sealed data with embedded timestamptimestamp - timestamp on signature of sealed datapipe - used to store the incoming data while loading the signed info of the cms message and to retrieve a stream to update the
cms message with a timestampCopyright © 2025 eHealth. All rights reserved.