Skip to content

Commit 3db9b67

Browse files
authored
misc: rename to fit accepted naming convetions
1 parent 7763f8d commit 3db9b67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Fido2/MakeCredentialData.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public class MakeCredentialData
170170
/// <summary>
171171
/// This returns the raw CBOR encoded credential data from the YubiKey, as returned by the MakeCredential operation.
172172
/// </summary>
173-
public ReadOnlyMemory<byte> RawCredentialData { get; private set; }
173+
public ReadOnlyMemory<byte> RawData { get; private set; }
174174

175175
// The default constructor explicitly defined. We don't want it to be
176176
// used.
@@ -198,8 +198,8 @@ private MakeCredentialData()
198198
/// </exception>
199199
public MakeCredentialData(ReadOnlyMemory<byte> cborEncoding)
200200
{
201-
RawCredentialData = cborEncoding;
202-
var map = new CborMap<int>(RawCredentialData);
201+
RawData = cborEncoding;
202+
var map = new CborMap<int>(RawData);
203203

204204
try
205205
{

Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/CredentialDataTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void RawCredentialData_Is_Set()
2323
{
2424
byte[] encoding = GetSampleEncoding();
2525
var cData = new MakeCredentialData(encoding);
26-
Assert.Equal(encoding, cData.RawCredentialData);
26+
Assert.Equal(encoding, cData.RawData);
2727
}
2828

2929

0 commit comments

Comments
 (0)