github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/tinkcrypto/primitive/cl/subtle/cl_signer.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 subtle
    11  
    12  import (
    13  	"github.com/hyperledger/aries-framework-go/component/kmscrypto/crypto/tinkcrypto/primitive/cl/subtle"
    14  )
    15  
    16  // CLSigner is used for CL signature using the provided CredDef key.
    17  type CLSigner = subtle.CLSigner
    18  
    19  // NewCLSigner creates a new instance of CLSigner with the provided privateKey.
    20  func NewCLSigner(privKey, pubKey, correctnessProof []byte, attrs []string) (*CLSigner, error) {
    21  	return subtle.NewCLSigner(privKey, pubKey, correctnessProof, attrs)
    22  }