@@ -8,6 +8,8 @@ namespace System.Security.Cryptography.Cose
88{
99 public readonly partial struct CoseHeaderLabel : System . IEquatable < System . Security . Cryptography . Cose . CoseHeaderLabel >
1010 {
11+ private readonly object _dummy ;
12+ private readonly int _dummyPrimitive ;
1113 public CoseHeaderLabel ( int label ) { throw null ; }
1214 public CoseHeaderLabel ( string label ) { throw null ; }
1315 public static System . Security . Cryptography . Cose . CoseHeaderLabel Algorithm { get { throw null ; } }
@@ -42,6 +44,8 @@ public void SetValue(System.Security.Cryptography.Cose.CoseHeaderLabel label, st
4244 public bool TryGetEncodedValue ( System . Security . Cryptography . Cose . CoseHeaderLabel label , out System . ReadOnlyMemory < byte > encodedValue ) { throw null ; }
4345 public partial struct Enumerator : System . Collections . Generic . IEnumerator < ( System . Security . Cryptography . Cose . CoseHeaderLabel Label , System . ReadOnlyMemory < byte > EncodedValue ) > , System . Collections . IEnumerator , System . IDisposable
4446 {
47+ private object _dummy ;
48+ private int _dummyPrimitive ;
4549 public readonly ( System . Security . Cryptography . Cose . CoseHeaderLabel Label , System . ReadOnlyMemory < byte > EncodedValue ) Current { get { throw null ; } }
4650 object System . Collections . IEnumerator . Current { get { throw null ; } }
4751 public void Dispose ( ) { }
@@ -56,28 +60,22 @@ internal CoseMessage() { }
5660 public System . Security . Cryptography . Cose . CoseHeaderMap ProtectedHeaders { get { throw null ; } }
5761 public System . Security . Cryptography . Cose . CoseHeaderMap UnprotectedHeaders { get { throw null ; } }
5862 public static System . Security . Cryptography . Cose . CoseSign1Message DecodeSign1 ( byte [ ] cborPayload ) { throw null ; }
59- public static System . Security . Cryptography . Cose . CoseSign1Message DecodeSign1 ( ReadOnlySpan < byte > cborPayload ) { throw null ; }
63+ public static System . Security . Cryptography . Cose . CoseSign1Message DecodeSign1 ( System . ReadOnlySpan < byte > cborPayload ) { throw null ; }
6064 }
6165 public sealed partial class CoseSign1Message : System . Security . Cryptography . Cose . CoseMessage
6266 {
6367 internal CoseSign1Message ( ) { }
6468 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
65- public static byte [ ] Sign ( ReadOnlySpan < byte > content , System . Security . Cryptography . AsymmetricAlgorithm key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null , bool isDetached = false ) { throw null ; }
66- [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
6769 public static byte [ ] Sign ( byte [ ] content , System . Security . Cryptography . AsymmetricAlgorithm key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null , bool isDetached = false ) { throw null ; }
6870 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
69- public static byte [ ] Sign ( byte [ ] content , System . Security . Cryptography . ECDsa key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , bool isDetached = false ) { throw null ; }
70- [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
71- public static byte [ ] Sign ( byte [ ] content , System . Security . Cryptography . RSA key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , bool isDetached = false ) { throw null ; }
72- [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
73- public static bool TrySign ( ReadOnlySpan < byte > content , Span < byte > destination , System . Security . Cryptography . AsymmetricAlgorithm key ! ! , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , out int bytesWritten , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null , bool isDetached = false ) { throw null ; }
71+ public static byte [ ] Sign ( System . ReadOnlySpan < byte > content , System . Security . Cryptography . AsymmetricAlgorithm key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null , bool isDetached = false ) { throw null ; }
7472 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
75- public bool Verify ( System . Security . Cryptography . ECDsa key ) { throw null ; }
73+ public static bool TrySign ( System . ReadOnlySpan < byte > content , System . Span < byte > destination , System . Security . Cryptography . AsymmetricAlgorithm key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , out int bytesWritten , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null , bool isDetached = false ) { throw null ; }
7674 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
77- public bool Verify ( System . Security . Cryptography . ECDsa key , System . ReadOnlySpan < byte > content ) { throw null ; }
75+ public bool Verify ( System . Security . Cryptography . AsymmetricAlgorithm key ) { throw null ; }
7876 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
79- public bool Verify ( System . Security . Cryptography . RSA key ) { throw null ; }
77+ public bool Verify ( System . Security . Cryptography . AsymmetricAlgorithm key , byte [ ] content ) { throw null ; }
8078 [ System . Runtime . Versioning . UnsupportedOSPlatformAttribute ( "browser" ) ]
81- public bool Verify ( System . Security . Cryptography . RSA key , System . ReadOnlySpan < byte > content ) { throw null ; }
79+ public bool Verify ( System . Security . Cryptography . AsymmetricAlgorithm key , System . ReadOnlySpan < byte > content ) { throw null ; }
8280 }
8381}
0 commit comments