Interface ImportCertificateRequest.Builder

  • Method Details

    • usage

      Specifies how this certificate is used. It can be used in the following ways:

      • SIGNING: For signing AS2 messages

      • ENCRYPTION: For encrypting AS2 messages

      • TLS: For securing AS2 communications sent over HTTPS

      Parameters:
      usage - Specifies how this certificate is used. It can be used in the following ways:

      • SIGNING: For signing AS2 messages

      • ENCRYPTION: For encrypting AS2 messages

      • TLS: For securing AS2 communications sent over HTTPS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • usage

      Specifies how this certificate is used. It can be used in the following ways:

      • SIGNING: For signing AS2 messages

      • ENCRYPTION: For encrypting AS2 messages

      • TLS: For securing AS2 communications sent over HTTPS

      Parameters:
      usage - Specifies how this certificate is used. It can be used in the following ways:

      • SIGNING: For signing AS2 messages

      • ENCRYPTION: For encrypting AS2 messages

      • TLS: For securing AS2 communications sent over HTTPS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificate

      ImportCertificateRequest.Builder certificate(String certificate)
      • For the CLI, provide a file path for a certificate in URI format. For example, --certificate file://encryption-cert.pem. Alternatively, you can provide the raw content.

      • For the SDK, specify the raw content of a certificate file. For example, --certificate "`cat encryption-cert.pem`".

      You can provide both the certificate and its chain in this parameter, without needing to use the CertificateChain parameter. If you use this parameter for both the certificate and its chain, do not use the CertificateChain parameter.

      Parameters:
      certificate -
    • For the CLI, provide a file path for a certificate in URI format. For example, --certificate file://encryption-cert.pem. Alternatively, you can provide the raw content.

    • For the SDK, specify the raw content of a certificate file. For example, --certificate "`cat encryption-cert.pem`".

    You can provide both the certificate and its chain in this parameter, without needing to use the CertificateChain parameter. If you use this parameter for both the certificate and its chain, do not use the CertificateChain parameter.

    Returns:
    Returns a reference to this object so that method calls can be chained together.