Class StateBasedEndorsementFactory
- java.lang.Object
-
- org.hyperledger.fabric.shim.ext.sbe.impl.StateBasedEndorsementFactory
-
public class StateBasedEndorsementFactory extends java.lang.Object
Factory forStateBasedEndorsement
objects
-
-
Constructor Summary
Constructors Constructor Description StateBasedEndorsementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateBasedEndorsementFactory
getInstance()
StateBasedEndorsement
newStateBasedEndorsement(byte[] ep)
Constructs a state-based endorsement policy from a given serialized EP byte array.
-
-
-
Method Detail
-
getInstance
public static StateBasedEndorsementFactory getInstance()
-
newStateBasedEndorsement
public StateBasedEndorsement newStateBasedEndorsement(byte[] ep)
Constructs a state-based endorsement policy from a given serialized EP byte array. If the byte array is empty, a new EP is created.- Parameters:
ep
-- Returns:
-
-