File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
tests/unit/Yubico/YubiKey/Fido2 Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ public class MakeCredentialData
168
168
169
169
170
170
/// <summary>
171
- /// This returns the CBOR encoded raw response of the MakeCredential operation from the YubiKey
171
+ /// This returns the raw CBOR encoded credential data from the YubiKey, as returned by the MakeCredential operation.
172
172
/// </summary>
173
- public ReadOnlyMemory < byte > RawResponse { get ; private set ; }
173
+ public ReadOnlyMemory < byte > RawCredentialData { get ; private set ; }
174
174
175
175
// The default constructor explicitly defined. We don't want it to be
176
176
// used.
@@ -198,8 +198,8 @@ private MakeCredentialData()
198
198
/// </exception>
199
199
public MakeCredentialData ( ReadOnlyMemory < byte > cborEncoding )
200
200
{
201
- RawResponse = cborEncoding ;
202
- var map = new CborMap < int > ( cborEncoding ) ;
201
+ RawCredentialData = cborEncoding ;
202
+ var map = new CborMap < int > ( RawCredentialData ) ;
203
203
204
204
try
205
205
{
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ namespace Yubico.YubiKey.Fido2
19
19
public class CredentialDataTests
20
20
{
21
21
[ Fact ]
22
- public void RawData_Is_Set ( )
22
+ public void RawCredentialData_Is_Set ( )
23
23
{
24
24
byte [ ] encoding = GetSampleEncoding ( ) ;
25
25
var cData = new MakeCredentialData ( encoding ) ;
26
- Assert . Equal ( encoding , cData . RawData ) ;
26
+ Assert . Equal ( encoding , cData . RawCredentialData ) ;
27
27
}
28
28
29
29
You can’t perform that action at this time.
0 commit comments