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 CryptoSuite
getCryptoSuite()
Return a default crypto suiteCryptoSuite
getCryptoSuite(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:CryptoSuiteFactory
Produce a crypto suite by specified by these properties. Properties are unique to each Crypto Suite implementation.- Specified by:
getCryptoSuite
in interfaceCryptoSuiteFactory
- Returns:
- Throws:
CryptoException
InvalidArgumentException
-
getCryptoSuite
public CryptoSuite getCryptoSuite() throws CryptoException, InvalidArgumentException
Description copied from interface:CryptoSuiteFactory
Return a default crypto suite- Specified by:
getCryptoSuite
in interfaceCryptoSuiteFactory
- Returns:
- Throws:
CryptoException
InvalidArgumentException
-
-