package
1.5.0
Repository: https://github.com/bianjieai/iritamod.git
Documentation: pkg.go.dev

# Functions

CheckCertificate checks if the given certificate is a PEM-encoded X.509 certificate and if the public key algorithm is supported.
DefaultGenesisState gets the raw genesis raw message for testing.
GetCertificateKey gets the key for the certificate with the specified identity and certificate hash VALUE: []byte (certificate).
GetCertificateSubspace gets the key prefix for the certificates of the specified identity.
GetCredentialsKey gets the key for the credentials of the specified identity VALUE: []byte (credentials).
GetDataKey gets the key for the data of the specified identity VALUE: []byte (data).
GetOwnerKey gets the key for the owner of the specified identity VALUE: sdk.AccAddress (owner).
GetPubKeyFromCertificate retrieves the public key from the given certificate Note: make sure that the certificate is valid.
GetPubKeyIdentityKey gets the key for mapping the specified public key to the identity ID VALUE: []byte (identity ID).
GetPubKeyInfoKey gets the key for the public key with the specified identity VALUE: []byte{}.
GetPubKeySubspace gets the key prefix for the public keys of the specified identity.
NewGenesisState constructs a new GenesisState instance.
NewIdentity contructs a new Identity instance.
No description provided by the author
NewMsgCreateIdentity creates a new MsgCreateIdentity instance.
NewMsgUpdateIdentity creates a new MsgUpdateIdentity instance.
NewPubKeyInfo constructs a new PubKeyInfo instance.
No description provided by the author
PubKeyAlgorithmFromString converts the given string to PubKeyAlgorithm.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary interfaces and concrete types on the provided Amino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateDSAPubKey validates the given DSA public key which is DER-encoded.
ValidateGenesis validates the provided identity genesis state to ensure the expected invariants holds.
ValidateIdentityFields validates the given identity fields.
ValidateRSAPubKey validates the given RSA public key which is DER-encoded.

# Constants

identity module event types.
identity module event types.
identity module event types.
description used to indicate not to modify a field.
DSA defines a DSA algorithm name.
ECDSA defines an ECDSA algorithm name.
ED25519 defines an ED25519 algorithm name.
identity module event types.
identity module event types.
size of the ID in bytes.
Identity message types and params.
Identity message types and params.
maximum size of the URI.
ModuleName is the name of the identity module.
QuerierRoute is the querier route for the identity module.
query identity.
RouterKey is the msg router key for the identity module.
RSA defines a RSA algorithm name.
SM2 defines an SM2 algorithm name.
StoreKey is the string store representation.
type for MsgCreateIdentity.
type for MsgUpdateIdentity.
UnknownPubKeyAlgorithm defines an unknown algorithm name.

# Variables

prefix for certificate.
prefix for credentials.
No description provided by the author
identity module sentinel errors.
identity module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
identity module sentinel errors.
identity module sentinel errors.
identity module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
identity module sentinel errors.
identity module sentinel errors.
identity module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
identity module sentinel errors.
identity module sentinel errors.
No description provided by the author
prefix for identity owner.
No description provided by the author
No description provided by the author
prefix for mapping public key to identity.
prefix for public key.

# Structs

GenesisState defines the identity module's genesis state.
Identity defines a struct for an identity.
MsgCreateIdentity defines a message to create an identity.
MsgCreateIdentityResponse defines the Msg/Create response type.
MsgUpdateIdentity defines a message to update an identity.
MsgUpdateIdentityResponse defines the Msg/Update response type.
PubKey represents a public key along with the corresponding algorithm.
QueryIdentityParams defines the params to query an identity.
QueryIdentityRequest is request type for the Query/Identity RPC method.
QueryIdentityResponse is response type for the Query/Identity RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

PubKeyAlgorithm defines the algorithm names for the public key.