Class RegisterCertificateRequest

    • Method Detail

      • certificatePem

        public final String certificatePem()

        The certificate data, in PEM format.

        Returns:
        The certificate data, in PEM format.
      • caCertificatePem

        public final String caCertificatePem()

        The CA certificate used to sign the device certificate being registered.

        Returns:
        The CA certificate used to sign the device certificate being registered.
      • setAsActive

        @Deprecated
        public final Boolean setAsActive()
        Deprecated.

        A boolean value that specifies if the certificate is set to active.

        Valid values: ACTIVE | INACTIVE

        Returns:
        A boolean value that specifies if the certificate is set to active.

        Valid values: ACTIVE | INACTIVE

      • status

        public final CertificateStatus status()

        The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.

        If the service returns an enum value that is not available in the current SDK version, status will return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the register certificate request. Valid values that you can use include ACTIVE , INACTIVE, and REVOKED.
        See Also:
        CertificateStatus
      • statusAsString

        public final String statusAsString()

        The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.

        If the service returns an enum value that is not available in the current SDK version, status will return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the register certificate request. Valid values that you can use include ACTIVE , INACTIVE, and REVOKED.
        See Also:
        CertificateStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object