@@ -73,6 +73,14 @@ public void CopyTo(System.Collections.Generic.KeyValuePair<System.Security.Crypt
73
73
public static bool operator == ( System . Security . Cryptography . Cose . CoseHeaderValue left , System . Security . Cryptography . Cose . CoseHeaderValue right ) { throw null ; }
74
74
public static bool operator != ( System . Security . Cryptography . Cose . CoseHeaderValue left , System . Security . Cryptography . Cose . CoseHeaderValue right ) { throw null ; }
75
75
}
76
+ public sealed partial class CoseKey
77
+ {
78
+ internal CoseKey ( ) { }
79
+ public static System . Security . Cryptography . Cose . CoseKey FromKey ( System . Security . Cryptography . ECDsa key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm ) { throw null ; }
80
+ [ System . Diagnostics . CodeAnalysis . ExperimentalAttribute ( "SYSLIB5006" ) ]
81
+ public static System . Security . Cryptography . Cose . CoseKey FromKey ( System . Security . Cryptography . MLDsa key ) { throw null ; }
82
+ public static System . Security . Cryptography . Cose . CoseKey FromKey ( System . Security . Cryptography . RSA key , System . Security . Cryptography . RSASignaturePadding signaturePadding , System . Security . Cryptography . HashAlgorithmName hashAlgorithm ) { throw null ; }
83
+ }
76
84
public abstract partial class CoseMessage
77
85
{
78
86
internal CoseMessage ( ) { }
@@ -129,9 +137,13 @@ internal CoseSign1Message() { }
129
137
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , byte [ ] detachedContent , byte [ ] ? associatedData = null ) { throw null ; }
130
138
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , System . IO . Stream detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
131
139
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , System . ReadOnlySpan < byte > detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
140
+ public bool VerifyDetached ( System . Security . Cryptography . Cose . CoseKey key , System . IO . Stream detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
141
+ public bool VerifyDetached ( System . Security . Cryptography . Cose . CoseKey key , System . ReadOnlySpan < byte > detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
132
142
public System . Threading . Tasks . Task < bool > VerifyDetachedAsync ( System . Security . Cryptography . AsymmetricAlgorithm key , System . IO . Stream detachedContent , System . ReadOnlyMemory < byte > associatedData = default ( System . ReadOnlyMemory < byte > ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
143
+ public System . Threading . Tasks . Task < bool > VerifyDetachedAsync ( System . Security . Cryptography . Cose . CoseKey key , System . IO . Stream detachedContent , System . ReadOnlyMemory < byte > associatedData = default ( System . ReadOnlyMemory < byte > ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
133
144
public bool VerifyEmbedded ( System . Security . Cryptography . AsymmetricAlgorithm key , byte [ ] ? associatedData = null ) { throw null ; }
134
145
public bool VerifyEmbedded ( System . Security . Cryptography . AsymmetricAlgorithm key , System . ReadOnlySpan < byte > associatedData ) { throw null ; }
146
+ public bool VerifyEmbedded ( System . Security . Cryptography . Cose . CoseKey key , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
135
147
}
136
148
public sealed partial class CoseSignature
137
149
{
@@ -143,16 +155,22 @@ internal CoseSignature() { }
143
155
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , byte [ ] detachedContent , byte [ ] ? associatedData = null ) { throw null ; }
144
156
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , System . IO . Stream detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
145
157
public bool VerifyDetached ( System . Security . Cryptography . AsymmetricAlgorithm key , System . ReadOnlySpan < byte > detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
158
+ public bool VerifyDetached ( System . Security . Cryptography . Cose . CoseKey key , System . IO . Stream detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
159
+ public bool VerifyDetached ( System . Security . Cryptography . Cose . CoseKey key , System . ReadOnlySpan < byte > detachedContent , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
146
160
public System . Threading . Tasks . Task < bool > VerifyDetachedAsync ( System . Security . Cryptography . AsymmetricAlgorithm key , System . IO . Stream detachedContent , System . ReadOnlyMemory < byte > associatedData = default ( System . ReadOnlyMemory < byte > ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
161
+ public System . Threading . Tasks . Task < bool > VerifyDetachedAsync ( System . Security . Cryptography . Cose . CoseKey key , System . IO . Stream detachedContent , System . ReadOnlyMemory < byte > associatedData = default ( System . ReadOnlyMemory < byte > ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
147
162
public bool VerifyEmbedded ( System . Security . Cryptography . AsymmetricAlgorithm key , byte [ ] ? associatedData = null ) { throw null ; }
148
163
public bool VerifyEmbedded ( System . Security . Cryptography . AsymmetricAlgorithm key , System . ReadOnlySpan < byte > associatedData ) { throw null ; }
164
+ public bool VerifyEmbedded ( System . Security . Cryptography . Cose . CoseKey key , System . ReadOnlySpan < byte > associatedData = default ( System . ReadOnlySpan < byte > ) ) { throw null ; }
149
165
}
150
166
public sealed partial class CoseSigner
151
167
{
152
168
public CoseSigner ( System . Security . Cryptography . AsymmetricAlgorithm key , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null ) { }
169
+ public CoseSigner ( System . Security . Cryptography . Cose . CoseKey key , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null ) { }
153
170
public CoseSigner ( System . Security . Cryptography . RSA key , System . Security . Cryptography . RSASignaturePadding signaturePadding , System . Security . Cryptography . HashAlgorithmName hashAlgorithm , System . Security . Cryptography . Cose . CoseHeaderMap ? protectedHeaders = null , System . Security . Cryptography . Cose . CoseHeaderMap ? unprotectedHeaders = null ) { }
171
+ public System . Security . Cryptography . Cose . CoseKey CoseKey { get { throw null ; } }
154
172
public System . Security . Cryptography . HashAlgorithmName HashAlgorithm { get { throw null ; } }
155
- public System . Security . Cryptography . AsymmetricAlgorithm Key { get { throw null ; } }
173
+ public System . Security . Cryptography . AsymmetricAlgorithm ? Key { get { throw null ; } }
156
174
public System . Security . Cryptography . Cose . CoseHeaderMap ProtectedHeaders { get { throw null ; } }
157
175
public System . Security . Cryptography . RSASignaturePadding ? RSASignaturePadding { get { throw null ; } }
158
176
public System . Security . Cryptography . Cose . CoseHeaderMap UnprotectedHeaders { get { throw null ; } }
0 commit comments