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 TypeMethodDescriptiongetPublicKey
(KeyMetadata keyMetadata) Accessor for the public-key corresponding to the supplied key meta-data.
-
Method Details
-
getPublicKey
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
- AKeyMetadata
for a key-pair.- Returns:
- A
PublicKey
.
-