diff options
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/cms/test/EnvelopedDataTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/test/src/cms/test/EnvelopedDataTest.cs b/crypto/test/src/cms/test/EnvelopedDataTest.cs index 02c76a0c1..36b3c7db4 100644 --- a/crypto/test/src/cms/test/EnvelopedDataTest.cs +++ b/crypto/test/src/cms/test/EnvelopedDataTest.cs @@ -374,11 +374,11 @@ namespace Org.BouncyCastle.Cms.Tests CmsEnvelopedData ed = edGen.Generate( new CmsProcessableByteArray(data), - "1.2.840.113549.3.4"); // RC4 OID + PkcsObjectIdentifiers.rc4.GetID()); RecipientInformationStore recipients = ed.GetRecipientInfos(); - Assert.AreEqual(ed.EncryptionAlgOid, "1.2.840.113549.3.4"); + Assert.AreEqual(ed.EncryptionAlgOid, PkcsObjectIdentifiers.rc4.GetID()); var c = recipients.GetRecipients(); @@ -404,11 +404,11 @@ namespace Org.BouncyCastle.Cms.Tests CmsEnvelopedData ed = edGen.Generate( new CmsProcessableByteArray(data), - "1.2.840.113549.3.4", 128); // RC4 OID + PkcsObjectIdentifiers.rc4.GetID(), 128); RecipientInformationStore recipients = ed.GetRecipientInfos(); - Assert.AreEqual(ed.EncryptionAlgOid, "1.2.840.113549.3.4"); + Assert.AreEqual(ed.EncryptionAlgOid, PkcsObjectIdentifiers.rc4.GetID()); var c = recipients.GetRecipients(); |