Class CertificateFactory
java.lang.Object
com.aquima.interactions.foundation.security.cert.CertificateFactory
Factory class to create certificate sets.
- Since:
- 5.1
- Author:
- m.hesselink
-
Method Summary
Modifier and TypeMethodDescriptionstatic RsaAesKeySet
createReadRsaAesKeySet
(ICertificateProvider provider) This method creates a read key set from the supplied provider.static RsaAesKeySet
This method creates a read key set from the supplied provider.static CertificateSet
createReadSet
(ICertificateProvider provider) This method creates a certificate set from the supplied provider.static CertificateSet
createReadSet
(IDecryptCertificateProvider provider) This method creates a certificate set from the supplied provider.static CertificateSet
This method creates a certificate set from the supplied provider.static CertificateSet
createSignSet
(ISignCertificateProvider provider) This method creates a certificate set from the supplied provider.static RsaAesKeySet
This method creates a write key set from the supplied provider.static CertificateSet
createWriteSet
(IEncryptCertificateProvider provider) This method creates a certificate set from the supplied provider.
-
Method Details
-
createReadSet
This method creates a certificate set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the certificate set.- Returns:
- The certificate set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the certificate set could not be created.
-
createReadSet
This method creates a certificate set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the certificate set.- Returns:
- The certificate set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the certificate set could not be created.
-
createReadRsaAesKeySet
This method creates a read key set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the read key set.- Returns:
- The read key set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the read key set could not be created.
-
createReadRsaAesKeySet
This method creates a read key set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the read key set.- Returns:
- The read key set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the read key set could not be created.
-
createWriteSet
This method creates a certificate set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the certificate set.- Returns:
- The certificate set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the certificate set could not be created.
-
createWriteRsaAesKeySet
This method creates a write key set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the write key set.- Returns:
- The write key set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the write key set could not be created.
-
createSignSet
This method creates a certificate set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the certificate set.- Returns:
- The certificate set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the certificate set could not be created.
-
createSignReadOnlySet
This method creates a certificate set from the supplied provider.- Parameters:
provider
- The provider that should be used to create the certificate set.- Returns:
- The certificate set from the supplied provider (never null).
- Throws:
CryptoGraphicException
- This exception is thrown when the certificate set could not be created.
-