public class SwitchableCmsEncryptionImpl
extends de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionServiceImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_CMSENCRYPTION_AT_ALL |
| Constructor and Description |
|---|
SwitchableCmsEncryptionImpl(de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionConfig encryptionConfig) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
buildDecryptionInputStream(InputStream inputStream,
Function<Set<String>,Map<String,Key>> keysByIds) |
OutputStream |
buildEncryptionOutputStream(OutputStream dataContentStream,
SecretKey secretKey,
de.adorsys.datasafe.encrypiton.api.types.keystore.KeyID secretKeyID) |
OutputStream |
buildEncryptionOutputStream(OutputStream dataContentStream,
Set<de.adorsys.datasafe.encrypiton.api.types.keystore.PublicKeyIDWithPublicKey> publicKeys) |
static boolean |
checkCmsEnccryptionToUse() |
public static final String NO_CMSENCRYPTION_AT_ALL
@Inject public SwitchableCmsEncryptionImpl(de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionConfig encryptionConfig)
public OutputStream buildEncryptionOutputStream(OutputStream dataContentStream, Set<de.adorsys.datasafe.encrypiton.api.types.keystore.PublicKeyIDWithPublicKey> publicKeys)
buildEncryptionOutputStream in interface de.adorsys.datasafe.encrypiton.api.cmsencryption.CMSEncryptionServicebuildEncryptionOutputStream in class de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionServiceImplpublic OutputStream buildEncryptionOutputStream(OutputStream dataContentStream, SecretKey secretKey, de.adorsys.datasafe.encrypiton.api.types.keystore.KeyID secretKeyID)
buildEncryptionOutputStream in interface de.adorsys.datasafe.encrypiton.api.cmsencryption.CMSEncryptionServicebuildEncryptionOutputStream in class de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionServiceImplpublic InputStream buildDecryptionInputStream(InputStream inputStream, Function<Set<String>,Map<String,Key>> keysByIds)
buildDecryptionInputStream in interface de.adorsys.datasafe.encrypiton.api.cmsencryption.CMSEncryptionServicebuildDecryptionInputStream in class de.adorsys.datasafe.encrypiton.impl.cmsencryption.CMSEncryptionServiceImplpublic static boolean checkCmsEnccryptionToUse()
Copyright © 2019. All rights reserved.