Package org.xipki.ca.api.mgmt
Class RevokeSuspendedControl
- java.lang.Object
-
- org.xipki.ca.api.mgmt.RevokeSuspendedControl
-
public class RevokeSuspendedControl extends java.lang.ObjectRevoke 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 java.lang.StringKEY_ENABLEDstatic java.lang.StringKEY_REVOCATION_REASONstatic java.lang.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(java.lang.String conf)RevokeSuspendedControl(org.xipki.util.ConfPairs conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetConf()org.xipki.util.ConfPairsgetConfPairs()org.xipki.security.CrlReasongetTargetReason()org.xipki.util.ValiditygetUnchangedSince()inthashCode()booleanisEnabled()java.lang.StringtoString()
-
-
-
Field Detail
-
KEY_ENABLED
public static final java.lang.String KEY_ENABLED
- See Also:
- Constant Field Values
-
KEY_REVOCATION_REASON
public static final java.lang.String KEY_REVOCATION_REASON
- See Also:
- Constant Field Values
-
KEY_UNCHANGED_SINCE
public static final java.lang.String KEY_UNCHANGED_SINCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RevokeSuspendedControl
public RevokeSuspendedControl(java.lang.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()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getConf
public java.lang.String getConf()
-
getConfPairs
public org.xipki.util.ConfPairs getConfPairs()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-