github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/tinkcrypto/primitive/cl/signer/cl_signer_pubkey_helper.go (about)

     1  //go:build ursa
     2  // +build ursa
     3  
     4  /*
     5  Copyright Avast Software. All Rights Reserved.
     6  
     7  SPDX-License-Identifier: Apache-2.0
     8  */
     9  
    10  package signer
    11  
    12  import (
    13  	"github.com/google/tink/go/keyset"
    14  
    15  	"github.com/hyperledger/aries-framework-go/component/kmscrypto/crypto/tinkcrypto/primitive/cl/signer"
    16  )
    17  
    18  // ExportCredDefPubKey will export corresponding pubKey in bytes.
    19  func ExportCredDefPubKey(kh *keyset.Handle) ([]byte, error) {
    20  	return signer.ExportCredDefPubKey(kh)
    21  }