| Package | Description |
|---|---|
| be.fgov.ehealth.etee.crypto.cert |
Classes for validation of a certificate path.
|
| be.fgov.ehealth.etee.crypto.crl |
Classes to validate revocation status of a certificate using CRL.
|
| be.fgov.ehealth.etee.crypto.decrypt |
Classes for validation and unsealing of sealed message.
|
| be.fgov.ehealth.etee.crypto.encrypt |
Classes for sealing of message and validation of ETKs.
|
| be.fgov.ehealth.etee.crypto.ocsp |
Classes to validate revocation status of a certificate using OCSP (Online Certificate Status Protocol).
|
| be.fgov.ehealth.etee.crypto.status |
Contains result objects and possible notifications.
|
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<CertificateStatus> |
CertPathChecker.validate(java.util.List<java.security.cert.X509Certificate> certificateChain) |
CryptoResult<CertificateStatus> |
CertPathChecker.validate(java.util.List<java.security.cert.X509Certificate> certificateChain,
java.util.Date validationDate) |
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<CRLData> |
CRLChecker.validate(java.security.cert.X509Certificate cert)
Extracts the CRL distribution points from the certificate (if available) and checks the certificate revocation status against the
CRLs coming from the distribution points.
|
CryptoResult<CRLData> |
CRLChecker.validate(java.security.cert.X509Certificate cert,
java.security.cert.CertStore certStore)
Extracts the CRL distribution points from the certificate (if available) and checks the certificate revocation status against the
CRLs coming from the distribution points.
|
CryptoResult<CRLData> |
CRLChecker.validate(java.security.cert.X509Certificate cert,
java.security.cert.CertStore certStore,
java.util.Date validationDate)
Extracts the CRL distribution points from the certificate (if available) and checks the certificate revocation status against the
CRLs coming from the distribution points.
|
CryptoResult<CRLData> |
CRLChecker.validate(java.security.cert.X509Certificate cert,
java.util.Date validationDate)
Extracts the CRL distribution points from the certificate (if available) and checks the certificate revocation status against the
CRLs coming from the distribution points.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<EncryptionToken> |
EncryptionTokenChecker.validate(EncryptionToken encryptionToken) |
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<OCSPData> |
OCSPChecker.validate(java.util.List<java.security.cert.X509Certificate> certificateChain) |
CryptoResult<OCSPData> |
OCSPChecker.validate(java.util.List<java.security.cert.X509Certificate> certificateChain,
java.util.Date signingTime,
RevocationValues revocationValues) |
CryptoResult<OCSPData> |
OCSPChecker.validate(java.security.cert.X509Certificate certificate) |
CryptoResult<OCSPData> |
OCSPChecker.validate(java.security.cert.X509Certificate certificate,
java.util.Date signingTime,
RevocationValues revocationValues) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicCryptoResult<T>
Basic implementation for status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CryptoResult.copyNotifications(CryptoResult<?> subResult)
Copies notifications of subresults to this one.
|
void |
BasicCryptoResult.copyNotifications(CryptoResult<?> subResult) |
Copyright © 2021 eHealth. All rights reserved.