File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Yubico.YubiKey/src/Yubico/YubiKey/Fido2 Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,11 @@ public class MakeCredentialData
166
166
/// </summary>
167
167
public ReadOnlyMemory < byte > ? LargeBlobKey { get ; private set ; }
168
168
169
- public ReadOnlyMemory < byte > RawData { get ; private set ; }
169
+
170
+ /// <summary>
171
+ /// This returns the CBOR encoded raw response of the MakeCredential operation from the YubiKey
172
+ /// </summary>
173
+ public ReadOnlyMemory < byte > RawResponse { get ; private set ; }
170
174
171
175
// The default constructor explicitly defined. We don't want it to be
172
176
// used.
@@ -194,10 +198,8 @@ private MakeCredentialData()
194
198
/// </exception>
195
199
public MakeCredentialData ( ReadOnlyMemory < byte > cborEncoding )
196
200
{
201
+ RawResponse = cborEncoding ;
197
202
var map = new CborMap < int > ( cborEncoding ) ;
198
- byte [ ] rawData = new byte [ cborEncoding . Length ] ;
199
- cborEncoding . CopyTo ( rawData ) ;
200
- RawData = rawData ;
201
203
202
204
try
203
205
{
You can’t perform that action at this time.
0 commit comments