Пример #1
0
 public virtual void IsSupportedEncryption_Success(Jwk key, EncryptionAlgorithm enc)
 {
     Assert.True(key.SupportEncryption(enc));
 }
Пример #2
0
 public override void IsSupportedKeyWrapping_Success(Jwk key, EncryptionAlgorithm enc, KeyManagementAlgorithm alg)
 {
     Assert.True(key.SupportKeyManagement(alg));
     Assert.False(key.SupportEncryption(enc));
 }