diff options
author | royb <roy.basmacier@primekey.com> | 2022-10-24 15:58:10 -0400 |
---|---|---|
committer | royb <roy.basmacier@primekey.com> | 2022-10-24 15:58:10 -0400 |
commit | 7f5568591d17d3c256d42760fbf43c8544c6f2b8 (patch) | |
tree | 7d69619a03f10e108143b3454a9d6d3ca9272fcb /crypto/src/asn1/x509/sigi/PersonalData.cs | |
parent | Added Aes and Uniform variant to Saber (diff) | |
parent | Add Asn1GeneralizedTime and use (diff) | |
download | BouncyCastle.NET-ed25519-7f5568591d17d3c256d42760fbf43c8544c6f2b8.tar.xz |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'crypto/src/asn1/x509/sigi/PersonalData.cs')
-rw-r--r-- | crypto/src/asn1/x509/sigi/PersonalData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/asn1/x509/sigi/PersonalData.cs b/crypto/src/asn1/x509/sigi/PersonalData.cs index 439039888..e8c75bf93 100644 --- a/crypto/src/asn1/x509/sigi/PersonalData.cs +++ b/crypto/src/asn1/x509/sigi/PersonalData.cs @@ -29,7 +29,7 @@ namespace Org.BouncyCastle.Asn1.X509.SigI { private readonly NameOrPseudonym nameOrPseudonym; private readonly BigInteger nameDistinguisher; - private readonly DerGeneralizedTime dateOfBirth; + private readonly Asn1GeneralizedTime dateOfBirth; private readonly DirectoryString placeOfBirth; private readonly string gender; private readonly DirectoryString postalAddress; @@ -88,7 +88,7 @@ namespace Org.BouncyCastle.Asn1.X509.SigI nameDistinguisher = DerInteger.GetInstance(o, false).Value; break; case 1: - dateOfBirth = DerGeneralizedTime.GetInstance(o, false); + dateOfBirth = Asn1GeneralizedTime.GetInstance(o, false); break; case 2: placeOfBirth = DirectoryString.GetInstance(o, true); @@ -118,7 +118,7 @@ namespace Org.BouncyCastle.Asn1.X509.SigI public PersonalData( NameOrPseudonym nameOrPseudonym, BigInteger nameDistinguisher, - DerGeneralizedTime dateOfBirth, + Asn1GeneralizedTime dateOfBirth, DirectoryString placeOfBirth, string gender, DirectoryString postalAddress) @@ -141,7 +141,7 @@ namespace Org.BouncyCastle.Asn1.X509.SigI get { return nameDistinguisher; } } - public DerGeneralizedTime DateOfBirth + public Asn1GeneralizedTime DateOfBirth { get { return dateOfBirth; } } |