| Package | Description |
|---|---|
| be.fgov.ehealth.etee.crypto.decrypt |
Classes for validation and unsealing of sealed message.
|
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<UnsealedData> |
DataSealChecker.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> |
DataSealChecker.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> |
DataSealChecker.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> |
DataUnsealer.unseal(byte[] data)
Unseals the data using the private keys that were provided to the DataUnsealerFactory when this DataUnsealer was created.
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(byte[] data,
javax.crypto.SecretKey kek)
Unseals the data using the given Key Encryption Key.
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(byte[] data,
javax.crypto.SecretKey kek,
SigningCredential... signers)
Unseals the data using the given Key Encryption Key and validate the signature using the given signer credential(s).
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(byte[] data,
SigningCredential... signers)
Unseals the data using the private keys that were provided to the DataUnsealerFactory when this DataUnsealer was created and validate
the signature using the given signer credential(s).
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(java.io.InputStream sealedData,
java.io.OutputStream unsealedData)
Unseals the data using the private keys that were provided to the DataUnsealerFactory when this DataUnsealer was created.
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(java.io.InputStream sealedData,
java.io.OutputStream unsealedData,
javax.crypto.SecretKey kek)
Unseals the data using the given Key Encryption Key.
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(java.io.InputStream sealedData,
java.io.OutputStream unsealedData,
javax.crypto.SecretKey kek,
SigningCredential... signers)
Unseals the data using the given Key Encryption Key and validate the signature using the given signer credential(s).
|
CryptoResult<UnsealedData> |
DataUnsealer.unseal(java.io.InputStream sealedData,
java.io.OutputStream unsealedData,
SigningCredential... signers)
Unseals the data using the private keys that were provided to the DataUnsealerFactory when this DataUnsealer was created and validate
the signature using the given signer credential(s).
|
CryptoResult<UnsealedData> |
DataSealChecker.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> |
DataSealChecker.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> |
DataSealChecker.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> |
DataSealChecker.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> |
DataSealChecker.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> |
DataSealChecker.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. |
Copyright © 2021 eHealth. All rights reserved.