fromKeyPair

suspend fun fromKeyPair(publicKey: ByteArray, publicKeyFormat: DpopKeyPair.PublicKeyFormat, privateKey: ByteArray, privateKeyFormat: DpopKeyPair.PrivateKeyFormat): DpopKeyPair

Creates a DPoP key pair from the provided public and private keys in the specified formats.