OrchardFullViewingKey.fromBytes constructor
OrchardFullViewingKey.fromBytes({
- required List<
int> bytes, - required ZCryptoContext context,
Implementation
factory OrchardFullViewingKey.fromBytes({
required List<int> bytes,
required ZCryptoContext context,
}) {
final fvk = OrchardFullViewingKey.fromBytesUnchecked(bytes);
OrchardKeyAgreementPrivateKey.deriveInner(fvk: fvk, context: context);
OrchardKeyAgreementPrivateKey.deriveInner(
fvk: fvk.deriveInternal(),
context: context,
);
return fvk;
}