Skip to content

Commit 92e9efe

Browse files
committed
JavaDoc updates
2 parents bdb43ae + c97eb1f commit 92e9efe

115 files changed

Lines changed: 320 additions & 449 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bc-build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
release.suffix: 151b01
3-
release.name: 1.51b01
2+
release.suffix: 151b10
3+
release.name: 1.51b10
44
release.debug: true
55

66
mail.jar.home: /opt/javamail/mail.jar

core/src/main/java/org/bouncycastle/asn1/DLSet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
* <h3>8: Basic encoding rules</h3>
1212
* <h4>8.11 Encoding of a set value </h4>
1313
* <b>8.11.1</b> The encoding of a set value shall be constructed
14-
* <p/>
14+
* <p>
1515
* <b>8.11.2</b> The contents octets shall consist of the complete
1616
* encoding of a data value from each of the types listed in the
1717
* ASN.1 definition of the set type, in an order chosen by the sender,
1818
* unless the type was referenced with the keyword
1919
* <b>OPTIONAL</b> or the keyword <b>DEFAULT</b>.
20-
* <p/>
20+
* <p>
2121
* <b>8.11.3</b> The encoding of a data value may, but need not,
2222
* be present for a type which was referenced with the keyword
2323
* <b>OPTIONAL</b> or the keyword <b>DEFAULT</b>.

core/src/main/java/org/bouncycastle/asn1/eac/CVCertificate.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
/**
1717
* an iso7816Certificate structure.
18-
* <p/>
1918
* <pre>
2019
* Certificate ::= SEQUENCE {
2120
* CertificateBody Iso7816CertificateBody,
@@ -85,7 +84,6 @@ private void setPrivateData(DERApplicationSpecific appSpe)
8584
* Create an iso7816Certificate structure from an ASN1InputStream.
8685
*
8786
* @param aIS the byte stream to parse.
88-
* @return the Iso7816CertificateStructure represented by the byte stream.
8987
* @throws IOException if there is a problem parsing the data.
9088
*/
9189
public CVCertificate(ASN1InputStream aIS)
@@ -129,7 +127,6 @@ private CVCertificate(DERApplicationSpecific appSpe)
129127
*
130128
* @param body the Iso7816CertificateBody object containing the body.
131129
* @param signature the byte array containing the signature
132-
* @return the Iso7816CertificateStructure
133130
* @throws IOException if there is a problem parsing the data.
134131
*/
135132
public CVCertificate(CertificateBody body, byte[] signature)
@@ -147,7 +144,6 @@ public CVCertificate(CertificateBody body, byte[] signature)
147144
*
148145
* @param obj the Object to extract the certificate from.
149146
* @return the Iso7816CertificateStructure represented by the byte stream.
150-
* @throws IOException if there is a problem parsing the data.
151147
*/
152148
public static CVCertificate getInstance(Object obj)
153149
{

core/src/main/java/org/bouncycastle/asn1/eac/CertificateBody.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
/**
1515
* an Iso7816CertificateBody structure.
16-
* <p/>
1716
* <pre>
1817
* CertificateBody ::= SEQUENCE {
1918
* // version of the certificate format. Must be 0 (version 1)
@@ -128,7 +127,6 @@ private void setIso7816CertificateBody(DERApplicationSpecific appSpe)
128127
* @param certificateHolderAuthorization
129128
* @param certificateEffectiveDate
130129
* @param certificateExpirationDate
131-
* @throws IOException
132130
*/
133131
public CertificateBody(
134132
DERApplicationSpecific certificateProfileIdentifier,
@@ -276,7 +274,6 @@ private ASN1Primitive requestToASN1Object()
276274
* create a "request" or "profile" type Iso7816CertificateBody according to the variables sets.
277275
*
278276
* @return return the ASN1Primitive representing the "request" or "profile" type certificate body.
279-
* @throws IOException if the DERApplicationSpecific cannot be created or if data are missings to create a valid certificate.
280277
*/
281278
public ASN1Primitive toASN1Primitive()
282279
{

core/src/main/java/org/bouncycastle/asn1/eac/CertificateHolderAuthorization.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
/**
1515
* an Iso7816CertificateHolderAuthorization structure.
16-
* <p/>
1716
* <pre>
1817
* Certificate Holder Authorization ::= SEQUENCE {
1918
* // specifies the format and the rules for the evaluation of the authorization

core/src/main/java/org/bouncycastle/asn1/eac/ECDSAPublicKey.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
/**
1717
* an Iso7816ECDSAPublicKeyStructure structure.
18-
* <p/>
1918
* <pre>
2019
* Certificate Holder Authorization ::= SEQUENCE {
2120
* ASN1TaggedObject primeModulusP; // OPTIONAL

core/src/main/java/org/bouncycastle/asn1/eac/RSAPublicKey.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
/**
1414
* an Iso7816RSAPublicKeyStructure structure.
15-
* <p/>
1615
* <pre>
1716
* Certificate Holder Authorization ::= SEQUENCE {
1817
* // modulus should be at least 1024bit and a multiple of 512.

core/src/main/java/org/bouncycastle/asn1/icao/CscaMasterList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* The CscaMasterList object. This object can be wrapped in a
1515
* CMSSignedData to be published in LDAP.
16-
* <p/>
16+
*
1717
* <pre>
1818
* CscaMasterList ::= SEQUENCE {
1919
* version CscaMasterListVersion,

core/src/main/java/org/bouncycastle/asn1/isismtt/ocsp/CertHash.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* the expiry of the corresponding certificate. Hence, clients MUST support this
2020
* extension. If a positive statement of availability is to be delivered, this
2121
* extension syntax and OID MUST be used.
22-
* <p/>
23-
* <p/>
2422
* <pre>
2523
* CertHash ::= SEQUENCE {
2624
* hashAlgorithm AlgorithmIdentifier,
@@ -102,9 +100,8 @@ public byte[] getCertificateHash()
102100

103101
/**
104102
* Produce an object suitable for an ASN1OutputStream.
105-
* <p/>
103+
* <p>
106104
* Returns:
107-
* <p/>
108105
* <pre>
109106
* CertHash ::= SEQUENCE {
110107
* hashAlgorithm AlgorithmIdentifier,

core/src/main/java/org/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* ISIS-MTT-Optional: The certificate requested by the client by inserting the
1717
* RetrieveIfAllowed extension in the request, will be returned in this
1818
* extension.
19-
* <p/>
19+
* <p>
2020
* ISIS-MTT-SigG: The signature act allows publishing certificates only then,
2121
* when the certificate owner gives his explicit permission. Accordingly, there
2222
* may be �nondownloadable� certificates, about which the responder must provide
@@ -36,7 +36,6 @@
3636
* Clients requesting RetrieveIfAllowed MUST be able to handle these cases. If
3737
* any of the OCTET STRING options is used, it MUST contain the DER encoding of
3838
* the requested certificate.
39-
* <p/>
4039
* <pre>
4140
* RequestedCertificate ::= CHOICE {
4241
* Certificate Certificate,
@@ -105,7 +104,7 @@ else if (tagged.getTagNo() == attributeCertificate)
105104

106105
/**
107106
* Constructor from a given details.
108-
* <p/>
107+
* <p>
109108
* Only one parameter can be given. All other must be <code>null</code>.
110109
*
111110
* @param certificate Given as Certificate
@@ -155,9 +154,8 @@ public byte[] getCertificateBytes()
155154

156155
/**
157156
* Produce an object suitable for an ASN1OutputStream.
158-
* <p/>
157+
* <p>
159158
* Returns:
160-
* <p/>
161159
* <pre>
162160
* RequestedCertificate ::= CHOICE {
163161
* Certificate Certificate,

0 commit comments

Comments
 (0)