Interface KeyUsage.Builder

    • Method Detail

      • critical

        KeyUsage.Builder critical​(Boolean critical)

        Sets the key usage extension to critical.

        Parameters:
        critical - Sets the key usage extension to critical.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageFlags

        KeyUsage.Builder usageFlags​(KeyUsageFlags usageFlags)

        The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.

        Parameters:
        usageFlags - The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.