diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-05-10 20:56:16 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-05-10 20:56:16 +0700 |
commit | a35474d76646504318907bb3bd33e179fbecd997 (patch) | |
tree | 1c28e1c0c2192d856b39d8144a88e649d2c5d8c3 /crypto/src/x509 | |
parent | Refactoring in X509ExtensionsGenerator (diff) | |
download | BouncyCastle.NET-ed25519-a35474d76646504318907bb3bd33e179fbecd997.tar.xz |
Fix CMS recipient selection by SubjectKeyIdentifier
- see https://github.com/bcgit/bc-csharp/issues/532
Diffstat (limited to 'crypto/src/x509')
-rw-r--r-- | crypto/src/x509/store/X509CertStoreSelector.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/x509/store/X509CertStoreSelector.cs b/crypto/src/x509/store/X509CertStoreSelector.cs index a153868d4..684edeb38 100644 --- a/crypto/src/x509/store/X509CertStoreSelector.cs +++ b/crypto/src/x509/store/X509CertStoreSelector.cs @@ -60,6 +60,9 @@ namespace Org.BouncyCastle.X509.Store return new X509CertStoreSelector(this); } + /// <remarks> + /// A DER encoding of an ASN.1 AuthorityKeyIdentifier value. + /// </remarks> public byte[] AuthorityKeyIdentifier { get { return Arrays.Clone(authorityKeyIdentifier); } @@ -141,7 +144,10 @@ namespace Org.BouncyCastle.X509.Store set { subject = value; } } - public byte[] SubjectKeyIdentifier + /// <remarks> + /// A DER encoding of an ASN.1 SubjectKeyIdentifier (OCTET STRING) value. + /// </remarks> + public byte[] SubjectKeyIdentifier { get { return Arrays.Clone(subjectKeyIdentifier); } set { subjectKeyIdentifier = Arrays.Clone(value); } |