Package org.forgerock.opendj.security
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 Summary
Constructors Constructor Description DeploymentIdParameters(String deploymentId)
Extracts the parameters of the given deployment ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getNotAfter()
Returns the expiration date of the deployment ID.Instant
getNotBefore()
Returns the generation date of the deployment ID.String
getProviderName()
Returns the key-pair generator provider name.BigInteger
getSerialNumber()
Returns the serial number of the deployment ID.byte
getVersion()
Returns the version of the deployment ID.
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-