Package org.forgerock.opendj.security
Class DeploymentId.DeploymentIdParameters
java.lang.Object
org.forgerock.opendj.security.DeploymentId.DeploymentIdParameters
- Enclosing class:
- DeploymentId
The deployment ID information to be displayed by the deployment ID tool.
-
Constructor Summary
ConstructorDescriptionDeploymentIdParameters
(String deploymentId) Extracts the parameters of the given deployment ID. -
Method Summary
Modifier and TypeMethodDescriptionReturns the expiration date of the deployment ID.Returns the generation date of the deployment ID.Returns the key-pair generator provider name.Returns the serial number of the deployment ID.byte
Returns the version of the deployment ID.
-
Constructor Details
-
DeploymentIdParameters
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
Returns the generation date of the deployment ID.- Returns:
- the generation date of the deployment ID
-
getNotAfter
Returns the expiration date of the deployment ID.- Returns:
- the expiration date of the deployment ID
-
getSerialNumber
Returns the serial number of the deployment ID.- Returns:
- the serial number of the deployment ID
-
getProviderName
Returns the key-pair generator provider name.- Returns:
- the key-pair generator provider name.
-