Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VCStatusManager vcStatusManager Crypto vcCrypto KMSRegistry kmsRegistry }
type Opts ¶ added in v1.5.0
type Opts func(opts *issueCredentialOpts)
Opts is signing credential option.
func WithCryptoOpts ¶ added in v1.5.0
func WithCryptoOpts(cryptoOpts []crypto.SigningOpts) Opts
WithCryptoOpts is an option to pass crypto.SigningOpts.
func WithSkipIDPrefix ¶ added in v1.8.0
func WithSkipIDPrefix() Opts
WithSkipIDPrefix is an option to skip ID prefix.
func WithTransactionID ¶ added in v1.5.0
WithTransactionID is an option to pass transactionID.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) IssueCredential ¶
func (s *Service) IssueCredential( ctx context.Context, credential *verifiable.Credential, profile *profileapi.Issuer, opts ...Opts, ) (*verifiable.Credential, error)
type ServiceInterface ¶
type ServiceInterface interface { IssueCredential( ctx context.Context, credential *verifiable.Credential, profile *profileapi.Issuer, opts ...Opts, ) (*verifiable.Credential, error) }
Click to show internal directories.
Click to hide internal directories.