Versions in this module Expand all Collapse all v1 v1.3.1 Jul 11, 2023 Changes in this version + func CreateCertAndInfoTransaction(certContent *db.CertContent, certInfo *db.CertInfo) error + func CreateCertTransaction(certContent *db.CertContent, certInfo *db.CertInfo, keyPair *db.KeyPair) error + func FindAppInfo(appId string) (*db.AppInfo, error) + func FindCertContent(userId, orgId string, usage db.CertUsage, userType db.UserType) (*db.CertContent, error) + func FindCertContentBySn(sn int64) (*db.CertContent, error) + func FindCertContents(userId, orgId string, usage db.CertUsage, userType db.UserType) ([]*db.CertContent, error) + func FindCertInfo(userId, orgId string, usage db.CertUsage, userType db.UserType) (*db.CertInfo, error) + func FindCertInfoByPrivateKey(privateKeyId string) (*db.CertInfo, error) + func FindCertInfoBySn(sn int64) (*db.CertInfo, error) + func FindCertInfos(userId, orgId string, usage db.CertUsage, userType db.UserType) ([]*db.CertInfo, error) + func FindKeyPair(userId, orgId string, usage db.CertUsage, userType db.UserType) (*db.KeyPair, error) + func FindKeyPairBySki(ski string) (*db.KeyPair, error) + func FindNodeIdByCertSn(certSn int64) (string, error) + func FindNodeIdByKeyId(keyId string) (string, error) + func InsertAppInfo(ac *db.AppInfo) error + func InsertRevokedCert(revokedCert *db.RevokedCert) error + func QueryRevokedCertByIssueSn(sn int64) ([]*db.RevokedCert, error) + func QueryRevokedCertByRevokedSn(sn int64) (*db.RevokedCert, error) + func UpdateCertContent(oldCertContent, newCertContent *db.CertContent) error