github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/primitive/bbs12381g2pub/signature_message.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  // SignatureMessage defines a message to be used for a signature check.
    14  type SignatureMessage = bbs.SignatureMessage
    15  
    16  // ParseSignatureMessage parses SignatureMessage from bytes.
    17  func ParseSignatureMessage(message []byte) *SignatureMessage {
    18  	return bbs.ParseSignatureMessage(message)
    19  }