Documentation ¶
Index ¶
- type Parser
- func (p *Parser) GetCommitment(opBytes []byte) (string, error)
- func (p *Parser) GetRevealValue(opBytes []byte) (string, error)
- func (p *Parser) Parse(namespace string, operationBuffer []byte) (*operation.Operation, error)
- func (p *Parser) ParseDID(namespace, shortOrLongFormDID string) (string, []byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is an operation parser.
func (*Parser) GetCommitment ¶
GetCommitment returns next operation commitment.
func (*Parser) GetRevealValue ¶
GetRevealValue returns this operation reveal value.
Click to show internal directories.
Click to hide internal directories.