public class CertRevocValidator
extends java.lang.Object
CertRevocMBean
and
CertRevocCaMBean
.Constructor and Description |
---|
CertRevocValidator() |
Modifier and Type | Method and Description |
---|---|
private static javax.security.auth.x500.X500Principal |
tryGetX500Principal(CertRevocCaMBean s) |
static void |
validateCertRevoc(CertRevocMBean certRevoc)
Validates the CertRevocMBean.
|
static void |
validateCertSerialNumber(java.lang.String value)
Validate the X509 certificate serial number attribute.
|
static void |
validatePort(int value)
Validate the TCP port attribute.
|
private static void |
validateUniqueDn(CertRevocMBean certRevoc)
Validates that all CertRevocCaMBean.DistinguishedName values are unique.
|
static void |
validateURL(java.lang.String value)
Validate the URL attribute.
|
static void |
validateX500PrincipalDN(java.lang.String value)
Validate the X500 principal distinguished name attribute.
|
public static void validateCertRevoc(CertRevocMBean certRevoc) throws java.lang.IllegalArgumentException
certRevoc
- java.lang.IllegalArgumentException
private static void validateUniqueDn(CertRevocMBean certRevoc) throws java.lang.IllegalArgumentException
certRevoc
- java.lang.IllegalArgumentException
private static javax.security.auth.x500.X500Principal tryGetX500Principal(CertRevocCaMBean s)
public static void validatePort(int value)
value
- The port valuepublic static void validateX500PrincipalDN(java.lang.String value)
value
- The DN valuepublic static void validateURL(java.lang.String value)
value
- The URL valuepublic static void validateCertSerialNumber(java.lang.String value)
value
- The serial number value