Class DeploymentId.DeploymentIdParameters

java.lang.Object
org.forgerock.opendj.security.DeploymentId.DeploymentIdParameters
Enclosing class:
DeploymentId

public static final class DeploymentId.DeploymentIdParameters extends Object
The deployment ID information to be displayed by the deployment ID tool.
  • Constructor Details

    • DeploymentIdParameters

      public DeploymentIdParameters(String deploymentId) throws DecodeException
      Extracts the parameters of the given deployment ID.
      Parameters:
      deploymentId - The deployment ID to be parsed.
      Throws:
      DecodeException - If the given deployment ID is invalid.
  • Method Details

    • getVersion

      public byte getVersion()
      Returns the version of the deployment ID.
      Returns:
      the version of the deployment ID
    • getNotBefore

      public Instant getNotBefore()
      Returns the generation date of the deployment ID.
      Returns:
      the generation date of the deployment ID
    • getNotAfter

      public Instant getNotAfter()
      Returns the expiration date of the deployment ID.
      Returns:
      the expiration date of the deployment ID
    • getSerialNumber

      public BigInteger getSerialNumber()
      Returns the serial number of the deployment ID.
      Returns:
      the serial number of the deployment ID
    • getProviderName

      public String getProviderName()
      Returns the key-pair generator provider name.
      Returns:
      the key-pair generator provider name.