Class HLSDKJCryptoSuiteFactory
- java.lang.Object
-
- org.hyperledger.fabric.sdk.security.HLSDKJCryptoSuiteFactory
-
- All Implemented Interfaces:
CryptoSuiteFactory
public class HLSDKJCryptoSuiteFactory extends java.lang.Object implements CryptoSuiteFactory
SDK's Default implementation of CryptoSuiteFactory.
-
-
Field Summary
-
Fields inherited from interface org.hyperledger.fabric.sdk.security.CryptoSuiteFactory
DEFAULT_JDK_PROVIDER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoSuitegetCryptoSuite()Return a default crypto suiteCryptoSuitegetCryptoSuite(java.util.Properties properties)Produce a crypto suite by specified by these properties.
-
-
-
Method Detail
-
getCryptoSuite
public CryptoSuite getCryptoSuite(java.util.Properties properties) throws CryptoException, InvalidArgumentException
Description copied from interface:CryptoSuiteFactoryProduce a crypto suite by specified by these properties. Properties are unique to each Crypto Suite implementation.- Specified by:
getCryptoSuitein interfaceCryptoSuiteFactory- Returns:
- Throws:
CryptoExceptionInvalidArgumentException
-
getCryptoSuite
public CryptoSuite getCryptoSuite() throws CryptoException, InvalidArgumentException
Description copied from interface:CryptoSuiteFactoryReturn a default crypto suite- Specified by:
getCryptoSuitein interfaceCryptoSuiteFactory- Returns:
- Throws:
CryptoExceptionInvalidArgumentException
-
-