|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSealChecker
Verify if outer signature is according to specified policies (ocsp, signing, encryption).
| Method Summary | |
|---|---|
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. The updated sealed message will be written into the given outputstream. |
CryptoResult<UnsealedData> |
validate(byte[] data)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. |
CryptoResult<UnsealedData> |
validate(byte[] data,
SigningCredential... signers)
Verify if the sealed data is acceptable according to specified policies (ocsp, signing, encryption). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. If credential(s) of a signer are given, message must be signed with one of the given credentials. |
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). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. |
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). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. |
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). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. If credential(s) of a signer are given, message must be signed with one of the given credentials. |
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). Different levels of notifications can be added to the result (warning, error, fatal). Additional data from the result can be used for further verifications. If credential(s) of a signer are given, message must be signed with one of the given credentials. |
| Method Detail |
|---|
CryptoResult<UnsealedData> validate(byte[] data)
OCSPOption.
The updated sealed message will be available in the result object.
data - sealed data
CryptoResult<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 signer
CryptoResult<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 processing
CryptoResult<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 signer
CryptoResult<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 information
CryptoResult<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 signer
CryptoResult<UnsealedData> stamp(byte[] data,
byte[] timestamp)
data - sealed datatimestamp - timestamp on signature of sealed data
CryptoResult<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 data
CryptoResult<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 timestamp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||