Package org.xipki.ca.api.mgmt
Class RevokeSuspendedControl
- java.lang.Object
-
- org.xipki.ca.api.mgmt.RevokeSuspendedControl
-
public class RevokeSuspendedControl extends Object
Revoke suspended certificate control.Example configuration
enabled=<true|false>, \ [targetReason=<CRL reason>,\ unchangedSince=<duration>]
where duration is of format <n>h, <n>d, <n>y.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_ENABLEDstatic StringKEY_REVOCATION_REASONstatic StringKEY_UNCHANGED_SINCE
-
Constructor Summary
Constructors Constructor Description RevokeSuspendedControl(boolean enabled)RevokeSuspendedControl(boolean enabled, org.xipki.security.CrlReason targetReason, org.xipki.util.Validity unchangedSince)RevokeSuspendedControl(String conf)RevokeSuspendedControl(org.xipki.util.ConfPairs conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetConf()org.xipki.util.ConfPairsgetConfPairs()org.xipki.security.CrlReasongetTargetReason()org.xipki.util.ValiditygetUnchangedSince()inthashCode()booleanisEnabled()StringtoString()
-
-
-
Field Detail
-
KEY_ENABLED
public static final String KEY_ENABLED
- See Also:
- Constant Field Values
-
KEY_REVOCATION_REASON
public static final String KEY_REVOCATION_REASON
- See Also:
- Constant Field Values
-
KEY_UNCHANGED_SINCE
public static final String KEY_UNCHANGED_SINCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RevokeSuspendedControl
public RevokeSuspendedControl(String conf)
-
RevokeSuspendedControl
public RevokeSuspendedControl(org.xipki.util.ConfPairs conf)
-
RevokeSuspendedControl
public RevokeSuspendedControl(boolean enabled)
-
RevokeSuspendedControl
public RevokeSuspendedControl(boolean enabled, org.xipki.security.CrlReason targetReason, org.xipki.util.Validity unchangedSince)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getTargetReason
public org.xipki.security.CrlReason getTargetReason()
-
getUnchangedSince
public org.xipki.util.Validity getUnchangedSince()
-
getConf
public String getConf()
-
getConfPairs
public org.xipki.util.ConfPairs getConfPairs()
-
-