Class CryptoSuite.Factory
- java.lang.Object
 - 
- org.hyperledger.fabric.sdk.security.CryptoSuite.Factory
 
 
- 
- Enclosing interface:
 - CryptoSuite
 
public static class CryptoSuite.Factory extends java.lang.ObjectThe CryptoSuite factory. CurrentlygetCryptoSuite()will always give you aCryptoPrimitivesobject 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CryptoSuitegetCryptoSuite()Get a crypto suite with the default factory with default settings.static CryptoSuitegetCryptoSuite(java.util.Properties properties)Get a crypto suite with the default factory with settings defined by properties Properties are uniquely defined by the specific crypto factory. 
 - 
 
- 
- 
Method Detail
- 
getCryptoSuite
public static CryptoSuite getCryptoSuite() throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException, CryptoException, InvalidArgumentException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
Get a crypto suite with the default factory with default settings. Settings which can define such parameters such as curve strength, are specific to the crypto factory.- Returns:
 - Default crypto suite.
 - Throws:
 java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.ClassNotFoundExceptionCryptoExceptionInvalidArgumentExceptionjava.lang.NoSuchMethodExceptionjava.lang.reflect.InvocationTargetException
 
- 
getCryptoSuite
public static CryptoSuite getCryptoSuite(java.util.Properties properties) throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException, CryptoException, InvalidArgumentException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
Get a crypto suite with the default factory with settings defined by properties Properties are uniquely defined by the specific crypto factory.- Parameters:
 properties- properties that define suite characteristics such as strength, curve, hashing .- Returns:
 - Throws:
 java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.ClassNotFoundExceptionCryptoExceptionInvalidArgumentExceptionjava.lang.NoSuchMethodExceptionjava.lang.reflect.InvocationTargetException
 
 - 
 
 -