cryptov1

package
v0.0.0-...-8da70b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cusf_crypto_v1_crypto_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HmacSha512Request

type HmacSha512Request struct {
	Key *v1.Hex `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Msg *v1.Hex `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*HmacSha512Request) Descriptor deprecated

func (*HmacSha512Request) Descriptor() ([]byte, []int)

Deprecated: Use HmacSha512Request.ProtoReflect.Descriptor instead.

func (*HmacSha512Request) GetKey

func (x *HmacSha512Request) GetKey() *v1.Hex

func (*HmacSha512Request) GetMsg

func (x *HmacSha512Request) GetMsg() *v1.Hex

func (*HmacSha512Request) ProtoMessage

func (*HmacSha512Request) ProtoMessage()

func (*HmacSha512Request) ProtoReflect

func (x *HmacSha512Request) ProtoReflect() protoreflect.Message

func (*HmacSha512Request) Reset

func (x *HmacSha512Request) Reset()

func (*HmacSha512Request) String

func (x *HmacSha512Request) String() string

type HmacSha512Response

type HmacSha512Response struct {
	Hmac *v1.Hex `protobuf:"bytes,1,opt,name=hmac,proto3" json:"hmac,omitempty"`
	// contains filtered or unexported fields
}

func (*HmacSha512Response) Descriptor deprecated

func (*HmacSha512Response) Descriptor() ([]byte, []int)

Deprecated: Use HmacSha512Response.ProtoReflect.Descriptor instead.

func (*HmacSha512Response) GetHmac

func (x *HmacSha512Response) GetHmac() *v1.Hex

func (*HmacSha512Response) ProtoMessage

func (*HmacSha512Response) ProtoMessage()

func (*HmacSha512Response) ProtoReflect

func (x *HmacSha512Response) ProtoReflect() protoreflect.Message

func (*HmacSha512Response) Reset

func (x *HmacSha512Response) Reset()

func (*HmacSha512Response) String

func (x *HmacSha512Response) String() string

type Ripemd160Request

type Ripemd160Request struct {
	Msg *v1.Hex `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*Ripemd160Request) Descriptor deprecated

func (*Ripemd160Request) Descriptor() ([]byte, []int)

Deprecated: Use Ripemd160Request.ProtoReflect.Descriptor instead.

func (*Ripemd160Request) GetMsg

func (x *Ripemd160Request) GetMsg() *v1.Hex

func (*Ripemd160Request) ProtoMessage

func (*Ripemd160Request) ProtoMessage()

func (*Ripemd160Request) ProtoReflect

func (x *Ripemd160Request) ProtoReflect() protoreflect.Message

func (*Ripemd160Request) Reset

func (x *Ripemd160Request) Reset()

func (*Ripemd160Request) String

func (x *Ripemd160Request) String() string

type Ripemd160Response

type Ripemd160Response struct {
	Digest *v1.Hex `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*Ripemd160Response) Descriptor deprecated

func (*Ripemd160Response) Descriptor() ([]byte, []int)

Deprecated: Use Ripemd160Response.ProtoReflect.Descriptor instead.

func (*Ripemd160Response) GetDigest

func (x *Ripemd160Response) GetDigest() *v1.Hex

func (*Ripemd160Response) ProtoMessage

func (*Ripemd160Response) ProtoMessage()

func (*Ripemd160Response) ProtoReflect

func (x *Ripemd160Response) ProtoReflect() protoreflect.Message

func (*Ripemd160Response) Reset

func (x *Ripemd160Response) Reset()

func (*Ripemd160Response) String

func (x *Ripemd160Response) String() string

type Secp256K1SecretKeyToPublicKeyRequest

type Secp256K1SecretKeyToPublicKeyRequest struct {
	SecretKey *v1.ConsensusHex `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1SecretKeyToPublicKeyRequest) Descriptor deprecated

func (*Secp256K1SecretKeyToPublicKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1SecretKeyToPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*Secp256K1SecretKeyToPublicKeyRequest) GetSecretKey

func (*Secp256K1SecretKeyToPublicKeyRequest) ProtoMessage

func (*Secp256K1SecretKeyToPublicKeyRequest) ProtoMessage()

func (*Secp256K1SecretKeyToPublicKeyRequest) ProtoReflect

func (*Secp256K1SecretKeyToPublicKeyRequest) Reset

func (*Secp256K1SecretKeyToPublicKeyRequest) String

type Secp256K1SecretKeyToPublicKeyResponse

type Secp256K1SecretKeyToPublicKeyResponse struct {
	PublicKey *v1.ConsensusHex `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1SecretKeyToPublicKeyResponse) Descriptor deprecated

func (*Secp256K1SecretKeyToPublicKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1SecretKeyToPublicKeyResponse.ProtoReflect.Descriptor instead.

func (*Secp256K1SecretKeyToPublicKeyResponse) GetPublicKey

func (*Secp256K1SecretKeyToPublicKeyResponse) ProtoMessage

func (*Secp256K1SecretKeyToPublicKeyResponse) ProtoMessage()

func (*Secp256K1SecretKeyToPublicKeyResponse) ProtoReflect

func (*Secp256K1SecretKeyToPublicKeyResponse) Reset

func (*Secp256K1SecretKeyToPublicKeyResponse) String

type Secp256K1SignRequest

type Secp256K1SignRequest struct {
	Message   *v1.Hex          `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	SecretKey *v1.ConsensusHex `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1SignRequest) Descriptor deprecated

func (*Secp256K1SignRequest) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1SignRequest.ProtoReflect.Descriptor instead.

func (*Secp256K1SignRequest) GetMessage

func (x *Secp256K1SignRequest) GetMessage() *v1.Hex

func (*Secp256K1SignRequest) GetSecretKey

func (x *Secp256K1SignRequest) GetSecretKey() *v1.ConsensusHex

func (*Secp256K1SignRequest) ProtoMessage

func (*Secp256K1SignRequest) ProtoMessage()

func (*Secp256K1SignRequest) ProtoReflect

func (x *Secp256K1SignRequest) ProtoReflect() protoreflect.Message

func (*Secp256K1SignRequest) Reset

func (x *Secp256K1SignRequest) Reset()

func (*Secp256K1SignRequest) String

func (x *Secp256K1SignRequest) String() string

type Secp256K1SignResponse

type Secp256K1SignResponse struct {
	Signature *v1.Hex `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1SignResponse) Descriptor deprecated

func (*Secp256K1SignResponse) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1SignResponse.ProtoReflect.Descriptor instead.

func (*Secp256K1SignResponse) GetSignature

func (x *Secp256K1SignResponse) GetSignature() *v1.Hex

func (*Secp256K1SignResponse) ProtoMessage

func (*Secp256K1SignResponse) ProtoMessage()

func (*Secp256K1SignResponse) ProtoReflect

func (x *Secp256K1SignResponse) ProtoReflect() protoreflect.Message

func (*Secp256K1SignResponse) Reset

func (x *Secp256K1SignResponse) Reset()

func (*Secp256K1SignResponse) String

func (x *Secp256K1SignResponse) String() string

type Secp256K1VerifyRequest

type Secp256K1VerifyRequest struct {
	Message   *v1.Hex          `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature *v1.Hex          `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey *v1.ConsensusHex `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1VerifyRequest) Descriptor deprecated

func (*Secp256K1VerifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1VerifyRequest.ProtoReflect.Descriptor instead.

func (*Secp256K1VerifyRequest) GetMessage

func (x *Secp256K1VerifyRequest) GetMessage() *v1.Hex

func (*Secp256K1VerifyRequest) GetPublicKey

func (x *Secp256K1VerifyRequest) GetPublicKey() *v1.ConsensusHex

func (*Secp256K1VerifyRequest) GetSignature

func (x *Secp256K1VerifyRequest) GetSignature() *v1.Hex

func (*Secp256K1VerifyRequest) ProtoMessage

func (*Secp256K1VerifyRequest) ProtoMessage()

func (*Secp256K1VerifyRequest) ProtoReflect

func (x *Secp256K1VerifyRequest) ProtoReflect() protoreflect.Message

func (*Secp256K1VerifyRequest) Reset

func (x *Secp256K1VerifyRequest) Reset()

func (*Secp256K1VerifyRequest) String

func (x *Secp256K1VerifyRequest) String() string

type Secp256K1VerifyResponse

type Secp256K1VerifyResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*Secp256K1VerifyResponse) Descriptor deprecated

func (*Secp256K1VerifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use Secp256K1VerifyResponse.ProtoReflect.Descriptor instead.

func (*Secp256K1VerifyResponse) GetValid

func (x *Secp256K1VerifyResponse) GetValid() bool

func (*Secp256K1VerifyResponse) ProtoMessage

func (*Secp256K1VerifyResponse) ProtoMessage()

func (*Secp256K1VerifyResponse) ProtoReflect

func (x *Secp256K1VerifyResponse) ProtoReflect() protoreflect.Message

func (*Secp256K1VerifyResponse) Reset

func (x *Secp256K1VerifyResponse) Reset()

func (*Secp256K1VerifyResponse) String

func (x *Secp256K1VerifyResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL