diff options
author | David Hook <dgh@bouncycastle.org> | 2015-10-12 14:48:04 +1100 |
---|---|---|
committer | David Hook <dgh@bouncycastle.org> | 2015-10-12 14:48:04 +1100 |
commit | ce9180e56bababf437e419b4f10699cf40ab01a9 (patch) | |
tree | 638682c526cffc0156276971d161a5f4b2802f9c /crypto/src/asn1 | |
parent | Port of recent ISO trailer updates from Java (diff) | |
download | BouncyCastle.NET-ed25519-ce9180e56bababf437e419b4f10699cf40ab01a9.tar.xz |
Initial cut of signature generation operators.
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r-- | crypto/src/asn1/x509/AlgorithmIdentifier.cs | 11 |
1 files changed, 11 insertions, 0 deletions
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 } } + /// <summary> + /// Return the OID in the Algorithm entry of this identifier. + /// </summary> + public virtual DerObjectIdentifier Algorithm + { + get { return objectID; } + } + public virtual DerObjectIdentifier ObjectID { get { return objectID; } } + /// <summary> + /// Return the parameters structure in the Parameters entry of this identifier. + /// </summary> public Asn1Encodable Parameters { get { return parameters; } |