diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-27 01:41:30 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-27 01:41:30 +0700 |
commit | dcb30eddab3e4db1fdb97061f895a3725cfb81aa (patch) | |
tree | 3ae8ca3232c30fbbc9fd2f87b57b9ef69e5248f6 /crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs | |
parent | Avoid reparsing when possible (diff) | |
download | BouncyCastle.NET-ed25519-dcb30eddab3e4db1fdb97061f895a3725cfb81aa.tar.xz |
Add CmsAlgorithmProtection and related constants
Diffstat (limited to 'crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs')
-rw-r--r-- | crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs b/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs index 570e0ded7..5d5f67127 100644 --- a/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs +++ b/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs @@ -145,6 +145,11 @@ namespace Org.BouncyCastle.Asn1.Pkcs public static readonly DerObjectIdentifier IdAlgPwriKek = IdAlg.Branch("9"); public static readonly DerObjectIdentifier IdAlgSsdh = IdAlg.Branch("10"); + /** RFC 6211 - id-aa-cmsAlgorithmProtect OBJECT IDENTIFIER ::= { +iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) +pkcs9(9) 52 } */ + public static readonly DerObjectIdentifier id_aa_cmsAlgorithmProtect = new DerObjectIdentifier(Pkcs9 + ".52"); + /* * <pre> * -- RSA-KEM Key Transport Algorithm |