org.bouncycastle.crypto.engines.Utils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
package org.bouncycastle.crypto.engines;
import org.bouncycastle.crypto.CryptoServicePurpose;
class Utils
{
static CryptoServicePurpose getPurpose(boolean forEncryption)
{
return forEncryption ? CryptoServicePurpose.ENCRYPTION : CryptoServicePurpose.DECRYPTION;
}
}