bitboxHsNew method

  1. @override
void bitboxHsNew({
  1. required BuBytes staticPriv32,
  2. required BuBytes ephemeralPriv32,
})
override

BitBox02: opens initiator session; throws CryptoException on native failure.

Implementation

@override
void bitboxHsNew({
  required BuBytes staticPriv32,
  required BuBytes ephemeralPriv32,
}) {
  api
      .bitboxHsNew(
        staticPriv32: staticPriv32,
        ephemeralPriv32: ephemeralPriv32,
      )
      .unwrapOrThrowCryptoError();
}