|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GeneralNameInterface
This interface specifies the abstract methods which have to be implemented by all the members of the GeneralNames ASN.1 object.
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
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. |
void |
encode(DerOutputStream out)
Encode the name to the specified DerOutputStream. |
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. |
| Field Detail |
|---|
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
| Method Detail |
|---|
int getType()
void encode(DerOutputStream out)
throws IOException
out - the DerOutputStream to encode the GeneralName to.
IOException - thrown if the GeneralName could not be
encoded.
int constrains(GeneralNameInterface inputName)
throws UnsupportedOperationException
inputName - to be checked for being constrained
UnsupportedOperationException - if name is same type, but comparison operations are
not supported for this name type.
int subtreeDepth()
throws UnsupportedOperationException
UnsupportedOperationException - if not supported for this name type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||