Documentation ¶
Index ¶
- Variables
- type CryptoOperations
- func (op *CryptoOperations) AddIBMSign(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) CreateAccount(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) GetIBMAccount(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) ParticipantSignXdr(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) SignPayload(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) SignXML(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) SignXMLUsingStellar(w http.ResponseWriter, req *http.Request)
- func (op *CryptoOperations) SignXdr(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var CYPTO_OPERATIONS = CryptoOperations{}
Global handler variable used for clean up session in the end
View Source
var LOGGER = logging.MustGetLogger("crypto-handler")
Functions ¶
This section is empty.
Types ¶
type CryptoOperations ¶
type CryptoOperations struct { HSMInstance common.HsmObject // contains filtered or unexported fields }
func CreateCryptoOperations ¶
func CreateCryptoOperations() (op CryptoOperations, err error)
func (*CryptoOperations) AddIBMSign ¶
func (op *CryptoOperations) AddIBMSign(w http.ResponseWriter, req *http.Request)
Takes XDR and signs and sends back XDR signed with IBM account
func (*CryptoOperations) CreateAccount ¶
func (op *CryptoOperations) CreateAccount(w http.ResponseWriter, req *http.Request)
add next
func (*CryptoOperations) GetIBMAccount ¶
func (op *CryptoOperations) GetIBMAccount(w http.ResponseWriter, req *http.Request)
Returns back address of IBM account
func (*CryptoOperations) ParticipantSignXdr ¶
func (op *CryptoOperations) ParticipantSignXdr(w http.ResponseWriter, req *http.Request)
ParticipantSignXdr: This is participant only signing endpoint for signing xdr with out verification
func (*CryptoOperations) SignPayload ¶
func (op *CryptoOperations) SignPayload(w http.ResponseWriter, req *http.Request)
func (*CryptoOperations) SignXML ¶
func (op *CryptoOperations) SignXML(w http.ResponseWriter, req *http.Request)
func (*CryptoOperations) SignXMLUsingStellar ¶
func (op *CryptoOperations) SignXMLUsingStellar(w http.ResponseWriter, req *http.Request)
func (*CryptoOperations) SignXdr ¶
func (op *CryptoOperations) SignXdr(w http.ResponseWriter, req *http.Request)
SignXdr: verifies identification and then signs xdr if pass
Click to show internal directories.
Click to hide internal directories.