Interface DelegatedPublicKeyProvider

All Known Subinterfaces:
DelegatedKeyPairService, DelegatedSignatureService, DelegatedTransactionSigner, DelegatedTransactionVerifier
All Known Implementing Classes:
AbstractDelegatedSignatureService, AbstractDelegatedTransactionSigner, AbstractDelegatedTransactionVerifier

public interface DelegatedPublicKeyProvider
Defines how to retrieve a PublicKey in a delegated manner.
  • Method Summary

    Modifier and Type
    Method
    Description
    Accessor for the public-key corresponding to the supplied key meta-data.
  • Method Details

    • getPublicKey

      PublicKey getPublicKey(KeyMetadata keyMetadata)
      Accessor for the public-key corresponding to the supplied key meta-data. This method exists to support implementations that hold private-key material internally, yet need a way for external callers to determine the actual public key for signature verification or other purposes.
      Parameters:
      keyMetadata - A KeyMetadata for a key-pair.
      Returns:
      A PublicKey.