summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-03 18:59:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-03 18:59:52 +0700
commit18c7d7e154c48b729ded47601c9b0ddd4f74650b (patch)
tree30e0d05f017ce07e4705e7a7257e505ef27f445f /crypto/src/asn1
parentEmbedAllSources, remove SourceLink (diff)
downloadBouncyCastle.NET-ed25519-18c7d7e154c48b729ded47601c9b0ddd4f74650b.tar.xz
Clenaup warnings
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/Asn1GeneralizedTime.cs9
-rw-r--r--crypto/src/asn1/cmp/CertReqTemplateContent.cs5
-rw-r--r--crypto/src/asn1/cmp/CmpObjectIdentifiers.cs3
-rw-r--r--crypto/src/asn1/cmp/CrlSource.cs2
-rw-r--r--crypto/src/asn1/cmp/RootCaKeyUpdateContent.cs5
5 files changed, 13 insertions, 11 deletions
diff --git a/crypto/src/asn1/Asn1GeneralizedTime.cs b/crypto/src/asn1/Asn1GeneralizedTime.cs
index e844c8ca2..139384c1a 100644
--- a/crypto/src/asn1/Asn1GeneralizedTime.cs
+++ b/crypto/src/asn1/Asn1GeneralizedTime.cs
@@ -11,8 +11,7 @@ namespace Org.BouncyCastle.Asn1
      * Base class representing the ASN.1 GeneralizedTime type.
      * <p>
      * The main difference between these and UTC time is a 4 digit year.
-     * </p>
-     * <p>
+     * </p><p>
      * One second resolution date+time on UTC timezone (Z)
      * with 4 digit year (valid from 0001 to 9999).
      * </p><p>
@@ -24,18 +23,18 @@ namespace Org.BouncyCastle.Asn1
      *
      * <h3>11: Restrictions on BER employed by both CER and DER</h3>
      * <h4>11.7 GeneralizedTime </h4>
-     * <p>
+     * </p><p>
      * <b>11.7.1</b> The encoding shall terminate with a "Z",
      * as described in the ITU-T Rec. X.680 | ISO/IEC 8824-1 clause on
      * GeneralizedTime.
      * </p><p>
      * <b>11.7.2</b> The seconds element shall always be present.
-     * </p>
-     * <p>
+     * </p><p>
      * <b>11.7.3</b> The fractional-seconds elements, if present,
      * shall omit all trailing zeros; if the elements correspond to 0,
      * they shall be wholly omitted, and the decimal point element also
      * shall be omitted.
+     * </p>
      */
     public class Asn1GeneralizedTime
         : Asn1Object
diff --git a/crypto/src/asn1/cmp/CertReqTemplateContent.cs b/crypto/src/asn1/cmp/CertReqTemplateContent.cs
index b229cd28b..c25c71ad1 100644
--- a/crypto/src/asn1/cmp/CertReqTemplateContent.cs
+++ b/crypto/src/asn1/cmp/CertReqTemplateContent.cs
@@ -9,12 +9,13 @@ namespace Org.BouncyCastle.Asn1.Cmp
      * GenRep:    {id-it 19}, CertReqTemplateContent | &lt; absent &gt;
      * <p>
      * CertReqTemplateValue  ::= CertReqTemplateContent
-     * <p>
+     * </p><p>
      * CertReqTemplateContent ::= SEQUENCE {
      * certTemplate           CertTemplate,
      * keySpec                Controls OPTIONAL }
-     * <p>
+     * </p><p>
      * Controls  ::= SEQUENCE SIZE (1..MAX) OF AttributeTypeAndValue
+     * </p>
      */
     public class CertReqTemplateContent
         : Asn1Encodable
diff --git a/crypto/src/asn1/cmp/CmpObjectIdentifiers.cs b/crypto/src/asn1/cmp/CmpObjectIdentifiers.cs
index fa83841a4..1b3227c47 100644
--- a/crypto/src/asn1/cmp/CmpObjectIdentifiers.cs
+++ b/crypto/src/asn1/cmp/CmpObjectIdentifiers.cs
@@ -234,8 +234,9 @@ namespace Org.BouncyCastle.Asn1.Cmp
          * 1.2.840.113549.1.9.16.1.21
          * <p>
          * id-ct   OBJECT IDENTIFIER ::= { id-smime  1 }  -- content types
-         * <p>
+         * </p><p>
          * id-ct-encKeyWithID OBJECT IDENTIFIER ::= {id-ct 21}
+         * </p>
          */
         public static readonly DerObjectIdentifier ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21");
 
diff --git a/crypto/src/asn1/cmp/CrlSource.cs b/crypto/src/asn1/cmp/CrlSource.cs
index 13aaa526a..9e2526ec2 100644
--- a/crypto/src/asn1/cmp/CrlSource.cs
+++ b/crypto/src/asn1/cmp/CrlSource.cs
@@ -12,7 +12,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
      * CRLSource ::= CHOICE {
      * dpn          [0] DistributionPointName,
      * issuer       [1] GeneralNames }
-     * <p>
+     * </p>
      */
     public class CrlSource
         : Asn1Encodable, IAsn1Choice
diff --git a/crypto/src/asn1/cmp/RootCaKeyUpdateContent.cs b/crypto/src/asn1/cmp/RootCaKeyUpdateContent.cs
index b1eaf616d..696b08b94 100644
--- a/crypto/src/asn1/cmp/RootCaKeyUpdateContent.cs
+++ b/crypto/src/asn1/cmp/RootCaKeyUpdateContent.cs
@@ -7,14 +7,15 @@ namespace Org.BouncyCastle.Asn1.Cmp
      * GenRep:    {id-it 18}, RootCaKeyUpdateContent | &lt; absent &gt;
      * <p>
      * RootCaCertValue ::= CMPCertificate
-     * <p>
+     * </p><p>
      * RootCaKeyUpdateValue ::= RootCaKeyUpdateContent
-     * <p>
+     * </p><p>
      * RootCaKeyUpdateContent ::= SEQUENCE {
      * newWithNew       CMPCertificate,
      * newWithOld   [0] CMPCertificate OPTIONAL,
      * oldWithNew   [1] CMPCertificate OPTIONAL
      * }
+     * </p>
      */
     public class RootCaKeyUpdateContent
         : Asn1Encodable