CredentialUserInfo Constructor
CredentialUserInfo(UserEntity, CredentialId, CoseKey, int, ReadOnlyMemory<byte>?)
Build a new instance of CredentialUserInfo based on the given objects related to a user.
C#
public CredentialUserInfo(UserEntity user, CredentialId credentialId, CoseKey credentialPublicKey, int credProtectPolicy, ReadOnlyMemory<byte>? largeBlobKey = null)
Parameters
Type | Name | Description |
---|---|---|
UserEntity | user | The user associated with the credential. |
CredentialId | credentialId | The credential ID, which includes the Id and Type. |
CoseKey | credentialPublicKey | The public key to use when verifying a credential. |
int | credProtectPolicy | An int specifying the credential protection policy. |
ReadOnlyMemory<byte>? | largeBlobKey | If null, there is no large blob key. If not null, this is the key that can be used to encrypt or decrypt large blob data for the credential. |