IsMatchingRelyingPartyId Method
IsMatchingRelyingPartyId(ReadOnlyMemory<Byte>)
Determine if the candidateHash
the same as the computed
RelyingPartyIdHash of this object. This is likely used
when searching for a RelyingParty when all you have is the
RelyingPartyIdHash, or when given a RelyingParty and a
RelyingPartyIdHash (e.g. enumerating relying parties), and want to
verify that the given value is correct.
C#
public bool IsMatchingRelyingPartyId(ReadOnlyMemory<byte> candidateHash)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | candidateHash | The purported relying party Id hash |
Returns
System.Boolean
A boolean, true
if the candidate matches the hash inside the
object and false
otherwise.