diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-18 15:15:10 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-18 15:15:10 +0700 |
commit | 7a79336a216eb2b3851f63647a3ba6c708259b99 (patch) | |
tree | ffd1285505f801d0672c36d098e4cb4bd4567d50 /crypto/src/asn1/x509/X509Extensions.cs | |
parent | GCM perf. opts. (diff) | |
download | BouncyCastle.NET-ed25519-7a79336a216eb2b3851f63647a3ba6c708259b99.tar.xz |
ASN.1: "Alternative algorithm" types and extension OIDs
Diffstat (limited to 'crypto/src/asn1/x509/X509Extensions.cs')
-rw-r--r-- | crypto/src/asn1/x509/X509Extensions.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/src/asn1/x509/X509Extensions.cs b/crypto/src/asn1/x509/X509Extensions.cs index aa5205800..62291a829 100644 --- a/crypto/src/asn1/x509/X509Extensions.cs +++ b/crypto/src/asn1/x509/X509Extensions.cs @@ -169,6 +169,21 @@ namespace Org.BouncyCastle.Asn1.X509 */ public static readonly DerObjectIdentifier ExpiredCertsOnCrl = new DerObjectIdentifier("2.5.29.60"); + /** + * the subject’s alternative public key information + */ + public static readonly DerObjectIdentifier SubjectAltPublicKeyInfo = new DerObjectIdentifier("2.5.29.72"); + + /** + * the algorithm identifier for the alternative digital signature algorithm. + */ + public static readonly DerObjectIdentifier AltSignatureAlgorithm = new DerObjectIdentifier("2.5.29.73"); + + /** + * alternative signature shall be created by the issuer using its alternative private key. + */ + public static readonly DerObjectIdentifier AltSignatureValue = new DerObjectIdentifier("2.5.29.74"); + private readonly Dictionary<DerObjectIdentifier, X509Extension> m_extensions = new Dictionary<DerObjectIdentifier, X509Extension>(); private readonly List<DerObjectIdentifier> m_ordering; |