github.com/hyperledger/aries-framework-go@v0.3.2/pkg/doc/signature/signer/api.go (about) 1 /* 2 Copyright SecureKey Technologies Inc. All Rights Reserved. 3 SPDX-License-Identifier: Apache-2.0 4 */ 5 6 package signer 7 8 import ( 9 "github.com/hyperledger/aries-framework-go/component/models/signature/signer" 10 ) 11 12 // SignatureSuite encapsulates signature suite methods required for signing documents. 13 type SignatureSuite = signer.SignatureSuite 14 15 // DocumentSigner implements signing of JSONLD documents. 16 type DocumentSigner = signer.DocumentSigner 17 18 // Context holds signing options and private key. 19 type Context = signer.Context 20 21 // New returns new instance of document verifier. 22 func New(signatureSuites ...SignatureSuite) *DocumentSigner { 23 return signer.New(signatureSuites...) 24 }