public static TheoryData <KeyWrapTheoryData> RsaKeyWrapConstructorTheoryData()
 {
     return(new TheoryData <KeyWrapTheoryData>
     {
         new KeyWrapTheoryData
         {
             ExpectedException = ExpectedException.ArgumentNullException("key"),
             First = true,
             TestId = "SecurityKeyNULL",
             WillUnwrap = false,
             WrapAlgorithm = SecurityAlgorithms.Aes128KeyWrap,
             WrapKey = null
         },
         new KeyWrapTheoryData
         {
             ExpectedException = ExpectedException.ArgumentNullException("algorithm"),
             TestId = "AlgorithmNULL",
             WillUnwrap = false,
             WrapAlgorithm = null,
             WrapKey = KeyingMaterial.RsaSecurityKey_2048
         },
         new KeyWrapTheoryData
         {
             ExpectedException = ExpectedException.SecurityTokenKeyWrapException("IDX10661:"),
             TestId = "KeyTooSmall1024",
             WillUnwrap = false,
             WrapAlgorithm = SecurityAlgorithms.RsaOAEP,
             WrapKey = KeyingMaterial.RsaSecurityKey_1024
         },
         new KeyWrapTheoryData
         {
             ExpectedException = ExpectedException.SecurityTokenKeyWrapException("IDX10661:"),
             TestId = "KeyDoesNotMatchAlgorithm",
             WillUnwrap = false,
             WrapAlgorithm = SecurityAlgorithms.Aes128KW,
             WrapKey = KeyingMaterial.RsaSecurityKey_2048
         },
         new KeyWrapTheoryData
         {
             TestId = "RsaAlgorithmMatch",
             WillUnwrap = false,
             WrapAlgorithm = SecurityAlgorithms.RsaPKCS1,
             WrapKey = KeyingMaterial.RsaSecurityKey_2048
         },
         new KeyWrapTheoryData
         {
             TestId = "X509AlgorithmMatch",
             WillUnwrap = false,
             WrapKey = KeyingMaterial.X509SecurityKey2,
             WrapAlgorithm = SecurityAlgorithms.RsaPKCS1
         },
         new KeyWrapTheoryData
         {
             TestId = "JwkRSA",
             WillUnwrap = false,
             WrapKey = KeyingMaterial.JsonWebKeyRsa_2048,
             WrapAlgorithm = SecurityAlgorithms.RsaPKCS1,
         },
         new KeyWrapTheoryData
         {
             TestId = "RsaPublicKey",
             UnwrapKey = KeyingMaterial.JsonWebKeyRsa_2048_Public,
             UnwrapAlgorithm = SecurityAlgorithms.RsaPKCS1,
             WillUnwrap = true
         }
     });
 }