Interface KeyUsageFlags.Builder

    • Method Detail

      • dataEncipherment

        KeyUsageFlags.Builder dataEncipherment​(Boolean dataEncipherment)

        DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.

        Parameters:
        dataEncipherment - DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • digitalSignature

        KeyUsageFlags.Builder digitalSignature​(Boolean digitalSignature)

        The digitalSignature is asserted when the subject public key is used for verifying digital signatures.

        Parameters:
        digitalSignature - The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyAgreement

        KeyUsageFlags.Builder keyAgreement​(Boolean keyAgreement)

        KeyAgreement is asserted when the subject public key is used for key agreement.

        Parameters:
        keyAgreement - KeyAgreement is asserted when the subject public key is used for key agreement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyEncipherment

        KeyUsageFlags.Builder keyEncipherment​(Boolean keyEncipherment)

        KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.

        Parameters:
        keyEncipherment - KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nonRepudiation

        KeyUsageFlags.Builder nonRepudiation​(Boolean nonRepudiation)

        NonRepudiation is asserted when the subject public key is used to verify digital signatures.

        Parameters:
        nonRepudiation - NonRepudiation is asserted when the subject public key is used to verify digital signatures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.