File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/org/bouncycastle/asn1/x509 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ public void removeExtension(
203203 * Return if the extension indicated by OID is present.
204204 *
205205 * @param oid the OID for the extension of interest.
206- * @return the Extension, or null if it is not present.
206+ * @return true if a matching extension is present, false otherwise .
207207 */
208208 public boolean hasExtension (ASN1ObjectIdentifier oid )
209209 {
@@ -214,7 +214,7 @@ public boolean hasExtension(ASN1ObjectIdentifier oid)
214214 * Return the current value of the extension for OID.
215215 *
216216 * @param oid the OID for the extension we want to fetch.
217- * @return true if a matching extension is present, false otherwise .
217+ * @return the Extension, or null if it is not present .
218218 */
219219 public Extension getExtension (ASN1ObjectIdentifier oid )
220220 {
You can’t perform that action at this time.
0 commit comments