github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/tinkcrypto/primitive/bbs/bbs_key_template.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package bbs
     8  
     9  import (
    10  	tinkpb "github.com/google/tink/go/proto/tink_go_proto"
    11  
    12  	"github.com/hyperledger/aries-framework-go/component/kmscrypto/crypto/tinkcrypto/primitive/bbs"
    13  )
    14  
    15  // BLS12381G2KeyTemplate creates a Tink key template for BBS+ on BLS12-381 curve with G2 group.
    16  func BLS12381G2KeyTemplate() *tinkpb.KeyTemplate {
    17  	return bbs.BLS12381G2KeyTemplate()
    18  }