public class CommonNameToSANDefault extends EnrollExtDefault
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
GN_ANY_NAME, GN_DIRECTORY_NAME, GN_DNS_NAME, GN_EDI_NAME, GN_IP_NAME, GN_OID_NAME, GN_RFC822_NAME, GN_URI_NAME, mConfig, mConfigNames, mValueNames, PROP_NAME| Constructor and Description |
|---|
CommonNameToSANDefault() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.
|
java.lang.String |
getValue(java.lang.String name,
java.util.Locale locale,
org.mozilla.jss.netscape.security.x509.X509CertInfo info)
Retrieves certificate template values and returns them to
the approval page.
|
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given property
by name.
|
static boolean |
isDigit(char c) |
static boolean |
isLetDig(char c) |
static boolean |
isLetDigHyp(char c) |
static boolean |
isLetter(char c) |
static boolean |
isValidDNSName(java.lang.String s)
Validate DNS name syntax per Section 3.5 of RFC 1034
and Section 2.1 of RFC 1123, and the additional rules
of RFC 5280 Section 4.2.1.6.
|
void |
populate(IRequest _req,
org.mozilla.jss.netscape.security.x509.X509CertInfo info)
Populates attributes into the certificate template.
|
void |
setValue(java.lang.String name,
java.util.Locale locale,
org.mozilla.jss.netscape.security.x509.X509CertInfo info,
java.lang.String value)
Sets values from the approval page into certificate template.
|
addConfigName, addExtension, addValueName, buildRecords, deleteExtension, getBoolean, getBytes, getConfig, getConfig, getConfigBoolean, getConfigDescriptor, getConfigInt, getConfigNames, getConfigStore, getExtension, getExtension, getGeneralNameType, getGeneralNameValue, getInt, getLocale, getName, getValue, getValueDescriptor, getValueNames, init, isGeneralNameType, isGeneralNameValid, isOptional, isValidOID, mapPattern, parseGeneralName, parseGeneralName, parseRecords, populate, refreshConfigAndValueNames, replaceExtension, setConfig, setValue, toGeneralNameString, toHexStringpublic void populate(IRequest _req, org.mozilla.jss.netscape.security.x509.X509CertInfo info) throws EProfileException
EnrollDefaultpopulate in class EnrollDefault_req - enrollment requestinfo - certificate templateEProfileException - failed to populate attributes
into requestpublic java.lang.String getText(java.util.Locale locale)
EnrollDefaultgetText in class EnrollDefaultlocale - locale of the end userpublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
PolicyDefaultgetValueDescriptor in class PolicyDefaultlocale - locale of the end username - name of propertypublic java.lang.String getValue(java.lang.String name,
java.util.Locale locale,
org.mozilla.jss.netscape.security.x509.X509CertInfo info)
EnrollDefaultgetValue in class EnrollDefaultname - name of the attributelocale - user localeinfo - certificate templatepublic void setValue(java.lang.String name,
java.util.Locale locale,
org.mozilla.jss.netscape.security.x509.X509CertInfo info,
java.lang.String value)
EnrollDefaultsetValue in class EnrollDefaultname - name of the attributelocale - user localeinfo - certificate templatevalue - attribute valuepublic static boolean isValidDNSName(java.lang.String s)
public static boolean isLetter(char c)
public static boolean isDigit(char c)
public static boolean isLetDig(char c)
public static boolean isLetDigHyp(char c)