#pragma warning disable CS8618
        static KeyManagementAlgorithm()
        {
            Utf8.AssertMagicNumber(_dir, "dir");
            Utf8.AssertMagicNumber(_KW, "KW");
            Utf8.AssertMagicNumber(_A128, "A128");
            Utf8.AssertMagicNumber(_A192, "A192");
            Utf8.AssertMagicNumber(_A256, "A256");
            Utf8.AssertMagicNumber(_ECDH_ES, "ECDH-ES");
            Utf8.AssertMagicNumber(_RSA_OAEP, "RSA-OAEP");
            Utf8.AssertMagicNumber(_RSA1, "RSA1");
            Utf8.AssertMagicNumber(__5, "_5");
            Utf8.AssertMagicNumber(__128GCMKW, "128GCMKW");
            Utf8.AssertMagicNumber(__192GCMKW, "192GCMKW");
            Utf8.AssertMagicNumber(__256GCMKW, "256GCMKW");
            Utf8.AssertMagicNumber(__256, "-256");
            Utf8.AssertMagicNumber(__384, "-384");
            Utf8.AssertMagicNumber(__512, "-512");
            Utf8.AssertMagicNumber(_ECDH_ES_, "ECDH-ES+");
            Utf8.AssertMagicNumber(_S_A128KW, "S+A128KW");
            Utf8.AssertMagicNumber(_S_A192KW, "S+A192KW");
            Utf8.AssertMagicNumber(_S_A256KW, "S+A256KW");
            Utf8.AssertMagicNumber(_ECDH_ES_UTF8, "ECDH-ES\\\\");
            Utf8.AssertMagicNumber(_u002bA12, "u002bA12");
            Utf8.AssertMagicNumber(_u002bA19, "u002bA19");
            Utf8.AssertMagicNumber(_u002bA25, "u002bA25");
            Utf8.AssertMagicNumber(__28KW, "28KW");
            Utf8.AssertMagicNumber(__92KW, "92KW");
            Utf8.AssertMagicNumber(__56KW, "56KW");
        }
Exemple #2
0
#pragma warning disable CS8618
        static SignatureAlgorithm()
        {
            Utf8.AssertMagicNumber(_S256, "S256");
            Utf8.AssertMagicNumber(_S384, "S384");
            Utf8.AssertMagicNumber(_S512, "S512");
            Utf8.AssertMagicNumber(_none, "none");
            Utf8.AssertMagicNumber(_ES256K, "ES256K");
        }
#pragma warning disable CS8618
        static EncryptionAlgorithm()
        {
            Utf8.AssertMagicNumber(_A128CBC_, "A128CBC-");
            Utf8.AssertMagicNumber(_A192CBC_, "A192CBC-");
            Utf8.AssertMagicNumber(_A256CBC_, "A256CBC-");
            Utf8.AssertMagicNumber(_BC_HS256, "BC-HS256");
            Utf8.AssertMagicNumber(_BC_HS384, "BC-HS384");
            Utf8.AssertMagicNumber(_BC_HS512, "BC-HS512");
            Utf8.AssertMagicNumber(_A128GCM, "A128GCM");
            Utf8.AssertMagicNumber(_A192GCM, "A192GCM");
            Utf8.AssertMagicNumber(_A256GCM, "A256GCM");
        }
Exemple #4
0
 static ECJwk()
 {
     Utf8.AssertMagicNumber(crv, "crv");
 }
Exemple #5
0
 static RsaJwk()
 {
     Utf8.AssertMagicNumber(qi, "qi");
     Utf8.AssertMagicNumber(dp, "dp");
     Utf8.AssertMagicNumber(dq, "dq");
 }
#pragma warning disable CS8618
        static CompressionAlgorithm()
        {
            Utf8.AssertMagicNumber(DEF, "DEF");
        }
Exemple #7
0
 static Jwks()
 {
     Utf8.AssertMagicNumber(keys, "keys");
 }