public interface GeneralNameInterface
extends com.tencent.kona.sun.security.util.DerEncoder
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_ANY
The list of names supported.
|
static int |
NAME_DIFF_TYPE
The list of constraint results.
|
static int |
NAME_DIRECTORY |
static int |
NAME_DNS |
static int |
NAME_EDI |
static int |
NAME_IP |
static int |
NAME_MATCH |
static int |
NAME_NARROWS |
static int |
NAME_OID |
static int |
NAME_RFC822 |
static int |
NAME_SAME_TYPE |
static int |
NAME_URI |
static int |
NAME_WIDENS |
static int |
NAME_X400 |
| Modifier and Type | Method and Description |
|---|---|
int |
constrains(GeneralNameInterface inputName)
Return type of constraint inputName places on this name:
NAME_DIFF_TYPE = -1: input name is different type from name (i.e.
|
int |
getType()
Return the type of the general name, as
defined above.
|
int |
subtreeDepth()
Return subtree depth of this name for purposes of determining
NameConstraints minimum and maximum bounds and for calculating
path lengths in name subtrees.
|
static final int NAME_ANY
static final int NAME_RFC822
static final int NAME_DNS
static final int NAME_X400
static final int NAME_DIRECTORY
static final int NAME_EDI
static final int NAME_URI
static final int NAME_IP
static final int NAME_OID
static final int NAME_DIFF_TYPE
static final int NAME_MATCH
static final int NAME_NARROWS
static final int NAME_WIDENS
static final int NAME_SAME_TYPE
int getType()
int constrains(GeneralNameInterface inputName) throws java.lang.UnsupportedOperationException
inputName - to be checked for being constrainedjava.lang.UnsupportedOperationException - if name is same type, but comparison operations are
not supported for this name type.int subtreeDepth()
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if not supported for this name type