CredentialUserInfo Constructor
CredentialUserInfo(UserEntity, CredentialId, CoseKey, Int32, Nullable<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, Nullable<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. |
System.Int32 | credProtectPolicy | An int specifying the credential protection policy. |
System.Nullable<System.ReadOnlyMemory<System.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. |