Class Certificate


  • public final class Certificate
    extends Object
    The Certificate model.
    • Constructor Detail

      • Certificate

        public Certificate()
    • Method Detail

      • pem

        public String pem()
        Get the pem property: PEM formatted public key.
        Returns:
        the pem value.
      • withPem

        public Certificate withPem​(String pem)
        Set the pem property: PEM formatted public key.
        Parameters:
        pem - the pem value to set.
        Returns:
        the Certificate object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.