setSessionTranscript

abstract fun setSessionTranscript(@NonNull sessionTranscript: Array<Byte>)

Set the session transcript.

If called, this must be called before any calls to getCredentialData.

The X and Y coordinates of the public part of the key-pair returned by getEphemeralKeyPair must appear somewhere in the bytes of the passed in CBOR. Each of these coordinates must appear encoded with the most significant bits first and use the exact amount of bits indicated by the key size of the ephemeral keys. For example, if the ephemeral key is using the P-256 curve then the 32 bytes for the X coordinate encoded with the most significant bits first must appear somewhere and ditto for the 32 bytes for the Y coordinate.

This method can only be called once per PresentationSession instance.

Parameters

sessionTranscript

the session transcript.