fabric_gm_plugins

package module
v0.0.0-...-b80a7d7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

GM-interoperability

  • Home of interoperation tests among pku-gm, tjfoc-gm and ccs-gm

  • Current version for each gm libs. At Dec-31-2020

    lib version
    github.com/Hyperledger-TWGC/ccs-gm v1.0.0
    github.com/Hyperledger-TWGC/pku-gm v1.0.2
    github.com/Hyperledger-TWGC/tjfoc-gm v1.4.0
    github.com/Hyperledger-TWGC/java-gm master

SM2 status

CCS TJ PKU
CCS n/A example workflowexample workflow example workflowexample workflow
TJ example workflowexample workflow n/A TJPKUsignexample workflow
PKU example workflowPKUccsencrypt example workflowexample workflow n/A

SM3 status

example workflow

java gm status

example workflow

SM4 status

CCS TJ PKU
CCS n/A ccstjsm4test ccsPKUsm4test
TJ tjCCSsm4test n/A tjPKUsm4test
PKU PKUccssm4test PKUtjsm4test n/A

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type X509Interface

type X509Interface interface {
	NewCertPool() *x509.CertPool
	IsEncryptedPEMBlock(b *pem.Block) bool
	DecryptPEMBlock(b *pem.Block, password []byte) ([]byte, error)
	EncryptPEMBlock(rand io.Reader, blockType string, data, password []byte, alg x509.PEMCipher) (*pem.Block, error) // TODO alg x509.PEMCipher -> alg string
	ParseCertificate(asn1Data []byte) (*x509.Certificate, error)
	CreateCertificate(rand io.Reader, template, parent *x509.Certificate, pub, priv interface{}) (cert []byte, err error)
	ParseCRL(crlBytes []byte) (*pkix.CertificateList, error)
}

* Author: ghostchen47

Jump to

Keyboard shortcuts

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