17 instantiations of CborReader
System.Formats.Cbor (1)
System\Formats\Cbor\Writer\CborWriter.cs (1)
158var reader = new CborReader(manager.Memory, conformanceMode: conformanceMode, allowMultipleRootLevelValues: false);
System.Security.Cryptography.Cose (16)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
247var reader = new CborReader(value.EncodedValue);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (4)
137var reader = new CborReader(EncodedValue); 164var reader = new CborReader(EncodedValue); 191var reader = new CborReader(EncodedValue); 220var reader = new CborReader(EncodedValue);
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
217var reader = new CborReader(encodedAlg);
System\Security\Cryptography\Cose\CoseMessage.cs (10)
98return DecodeCoseSign1Core(new CborReader(cborPayload)); 115return DecodeCoseSign1Core(new CborReader(manager.Memory)); 138reader = new CborReader(coseSignArray); 184return DecodeCoseMultiSignCore(new CborReader(cborPayload)); 201return DecodeCoseMultiSignCore(new CborReader(manager.Memory)); 224reader = new CborReader(coseSignArray); 275var protectedHeaderReader = new CborReader(protectedHeaderAsBstr); 358var reader = new CborReader(coseSignature); 386var reader = new CborReader(encodedArray); 566var reader = new CborReader(critHeaderValue.EncodedValue);
25 references to CborReader
System.Formats.Cbor (6)
System\Formats\Cbor\Reader\CborReader.cs (2)
50/// <summary>Initializes a <see cref="CborReader" /> instance over the specified <paramref name="data" /> with the given configuration.</summary> 85/// Resets the <see cref="CborReader"/> instance over the specified <paramref name="data"/> with unchanged configuration.
System\Formats\Cbor\Reader\CborReader.Map.cs (2)
201private readonly CborReader _reader; 203public KeyEncodingComparer(CborReader reader)
System\Formats\Cbor\Reader\CborReaderState.cs (1)
71/// <para>If <see cref="CborReader.AllowMultipleRootLevelValues" /> is set to <see langword="false" />,
System\Formats\Cbor\Writer\CborWriter.cs (1)
158var reader = new CborReader(manager.Memory, conformanceMode: conformanceMode, allowMultipleRootLevelValues: false);
System.Security.Cryptography.Cose (19)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
247var reader = new CborReader(value.EncodedValue);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (4)
137var reader = new CborReader(EncodedValue); 164var reader = new CborReader(EncodedValue); 191var reader = new CborReader(EncodedValue); 220var reader = new CborReader(EncodedValue);
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
217var reader = new CborReader(encodedAlg);
System\Security\Cryptography\Cose\CoseMessage.cs (13)
121private static CoseSign1Message DecodeCoseSign1Core(CborReader reader) 207private static CoseMultiSignMessage DecodeCoseMultiSignCore(CborReader reader) 258private static CborTag? DecodeTag(CborReader reader) 267private static void DecodeProtectedBucket(CborReader reader, CoseHeaderMap headerParameters, out byte[] protectedHeaderAsBstr) 275var protectedHeaderReader = new CborReader(protectedHeaderAsBstr); 291private static void DecodeUnprotectedBucket(CborReader reader, CoseHeaderMap headerParameters) 296private static void DecodeBucket(CborReader reader, CoseHeaderMap headerParameters) 314private static byte[]? DecodePayload(CborReader reader) 330private static byte[] DecodeSignature(CborReader reader) 335private static List<CoseSignature> DecodeCoseSignaturesArray(CborReader reader) 358var reader = new CborReader(coseSignature); 386var reader = new CborReader(encodedArray); 566var reader = new CborReader(critHeaderValue.EncodedValue);