CodeTransparencyClient.RunTransparentStatementVerification Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verify the receipt integrity against the COSE_Sign1 envelope and check if receipt was endorsed by the service public keys. This method expects the issuer in the receipt to match the CodeTransparencyClient client endpoint. Calls Verify(Byte[], Byte[], CodeTransparencyVerificationKey) for each receipt found in the transparent statement.
public virtual void RunTransparentStatementVerification(byte[] signedStatementCoseSign1Bytes, byte[] receiptCoseSign1Bytes);
abstract member RunTransparentStatementVerification : byte[] * byte[] -> unit
override this.RunTransparentStatementVerification : byte[] * byte[] -> unit
Public Overridable Sub RunTransparentStatementVerification (signedStatementCoseSign1Bytes As Byte(), receiptCoseSign1Bytes As Byte())
Parameters
- signedStatementCoseSign1Bytes
- Byte[]
Signed statement in Cose_Sign1 cbor bytes.
- receiptCoseSign1Bytes
- Byte[]
Receipt in COSE_Sign1 cbor bytes.
Exceptions
Thrown when the verification fails.