Interface KeyUsage.Builder

    • Method Detail

      • digitalSignature

        KeyUsage.Builder digitalSignature​(Boolean digitalSignature)

        Key can be used for digital signing.

        Parameters:
        digitalSignature - Key can be used for digital signing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nonRepudiation

        KeyUsage.Builder nonRepudiation​(Boolean nonRepudiation)

        Key can be used for non-repudiation.

        Parameters:
        nonRepudiation - Key can be used for non-repudiation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyEncipherment

        KeyUsage.Builder keyEncipherment​(Boolean keyEncipherment)

        Key can be used to encipher data.

        Parameters:
        keyEncipherment - Key can be used to encipher data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataEncipherment

        KeyUsage.Builder dataEncipherment​(Boolean dataEncipherment)

        Key can be used to decipher data.

        Parameters:
        dataEncipherment - Key can be used to decipher data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyAgreement

        KeyUsage.Builder keyAgreement​(Boolean keyAgreement)

        Key can be used in a key-agreement protocol.

        Parameters:
        keyAgreement - Key can be used in a key-agreement protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyCertSign

        KeyUsage.Builder keyCertSign​(Boolean keyCertSign)

        Key can be used to sign certificates.

        Parameters:
        keyCertSign - Key can be used to sign certificates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • crlSign

        KeyUsage.Builder crlSign​(Boolean crlSign)

        Key can be used to sign CRLs.

        Parameters:
        crlSign - Key can be used to sign CRLs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encipherOnly

        KeyUsage.Builder encipherOnly​(Boolean encipherOnly)

        Key can be used only to encipher data.

        Parameters:
        encipherOnly - Key can be used only to encipher data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decipherOnly

        KeyUsage.Builder decipherOnly​(Boolean decipherOnly)

        Key can be used only to decipher data.

        Parameters:
        decipherOnly - Key can be used only to decipher data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.