/** * Determine whether the bit # corresponding to this enumeration is set in the given boolean array. * * @param booleans the boolean array (must not be {@code null}) * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant */ public boolean in(final boolean[] booleans) { final int ordinal = ordinal(); return booleans.length > ordinal && booleans[ordinal]; }
final KeyUsage keyUsage = KeyUsage.forName(di.drainToString()); if (keyUsage == null) { throw log.invalidCertificateExtensionStringValue(extensionValue);
final KeyUsage keyUsage = KeyUsage.forName(di.drainToString()); if (keyUsage == null) { throw log.invalidCertificateExtensionStringValue(extensionValue);
/** * Determine whether the bit # corresponding to this enumeration is set in the given boolean array. * * @param booleans the boolean array (must not be {@code null}) * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant */ public boolean in(final boolean[] booleans) { final int ordinal = ordinal(); return booleans.length > ordinal && booleans[ordinal]; }
final KeyUsage keyUsage = KeyUsage.forName(di.drainToString()); if (keyUsage == null) { throw log.invalidCertificateExtensionStringValue(extensionValue);
/** * Determine whether the bit # corresponding to this enumeration is set in the given boolean array. * * @param booleans the boolean array (must not be {@code null}) * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant */ public boolean in(final boolean[] booleans) { final int ordinal = ordinal(); return booleans.length > ordinal && booleans[ordinal]; }
final KeyUsage keyUsage = KeyUsage.forName(di.drainToString()); if (keyUsage == null) { throw log.invalidCertificateExtensionStringValue(extensionValue);
/** * Determine whether the bit # corresponding to this enumeration is set in the given boolean array. * * @param booleans the boolean array (must not be {@code null}) * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant */ public boolean in(final boolean[] booleans) { final int ordinal = ordinal(); return booleans.length > ordinal && booleans[ordinal]; }