From ce9180e56bababf437e419b4f10699cf40ab01a9 Mon Sep 17 00:00:00 2001 From: David Hook Date: Mon, 12 Oct 2015 14:48:04 +1100 Subject: Initial cut of signature generation operators. --- crypto/src/asn1/x509/AlgorithmIdentifier.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crypto/src/asn1') diff --git a/crypto/src/asn1/x509/AlgorithmIdentifier.cs b/crypto/src/asn1/x509/AlgorithmIdentifier.cs index 4ed3a400d..c6f4af5bf 100644 --- a/crypto/src/asn1/x509/AlgorithmIdentifier.cs +++ b/crypto/src/asn1/x509/AlgorithmIdentifier.cs @@ -69,11 +69,22 @@ namespace Org.BouncyCastle.Asn1.X509 } } + /// + /// Return the OID in the Algorithm entry of this identifier. + /// + public virtual DerObjectIdentifier Algorithm + { + get { return objectID; } + } + public virtual DerObjectIdentifier ObjectID { get { return objectID; } } + /// + /// Return the parameters structure in the Parameters entry of this identifier. + /// public Asn1Encodable Parameters { get { return parameters; } -- cgit 1.4.1