github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/primitive/bbs12381g2pub/signature.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package bbs12381g2pub
     8  
     9  import (
    10  	bbs "github.com/hyperledger/aries-framework-go/component/kmscrypto/crypto/primitive/bbs12381g2pub"
    11  )
    12  
    13  // Signature defines BLS signature.
    14  type Signature = bbs.Signature
    15  
    16  // ParseSignature parses a Signature from bytes.
    17  func ParseSignature(sigBytes []byte) (*Signature, error) {
    18  	return bbs.ParseSignature(sigBytes)
    19  }