CredentialKey.fromPublicKey constructor

CredentialKey.fromPublicKey(
  1. List<int> pubKeyBytes
)

Constructs a CredentialKey from a public key pubKeyBytes. It derives the credential from the public key bytes using hashing.

Implementation

CredentialKey.fromPublicKey(List<int> pubKeyBytes)
    : super(AdaAddressUtils.publicKeyToHash(pubKeyBytes));