OtherName ::= SEQUENCE {
type-id OBJECT IDENTIFIER,
value [0] EXPLICIT ANY DEFINED BY type-id
}
| Modifier and Type | Field and Description |
|---|---|
| private final GeneralNameInterface | |
| private int | |
| private final String | |
| private final byte[] | |
| private final ObjectIdentifier | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | OtherName(ObjectIdentifier
ObjectIdentifier of this OtherName object oid, byte[] the DER-encoded value of the OtherName value)Create the OtherName object from a passed ObjectIdentifier and byte array name value |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: constraint type aboveto be checked for being constrained inputName)Implements sun. Return type of constraint inputName places on this name:
|
| public void | encode(DerOutputStream
the DER stream to encode the Other-Name to. out)Implements sun. Encode the Other name into the DerOutputStream. |
| public boolean | Returns: true iff the names are identical.Overrides java. Compares this name with another, for equality. |
| private GeneralNameInterface | |
| public byte[] | |
| public ObjectIdentifier | |
| public int | getType()
Implements sun. Return the type of the GeneralName. |
| public int | Returns: the hash code for this OtherNameOverrides java. Returns the hash code for this OtherName. |
| public int | Returns: distance of name from rootImplements sun. Return subtree depth of this name for purposes of determining NameConstraints minimum and maximum bounds. |
| public String |
| gni | back to summary |
|---|---|
| private final GeneralNameInterface gni | |
| myhash | back to summary |
|---|---|
| private int myhash | |
| name | back to summary |
|---|---|
| private final String name | |
| nameValue | back to summary |
|---|---|
| private final byte[] nameValue | |
| oid | back to summary |
|---|---|
| private final ObjectIdentifier oid | |
| TAG_VALUE | back to summary |
|---|---|
| private static final byte TAG_VALUE | |
| OtherName | back to summary |
|---|---|
| public OtherName(ObjectIdentifier oid, byte[] value) throws IOException Create the OtherName object from a passed ObjectIdentifier and byte array name value
| |
| OtherName | back to summary |
|---|---|
| public OtherName(DerValue derValue) throws IOException Create the OtherName object from the passed encoded Der value.
| |
| constrains | back to summary |
|---|---|
| public int constrains(GeneralNameInterface inputName) Implements sun. Return type of constraint inputName places on this name:
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the Other name into the DerOutputStream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compares this name with another, for equality.
| |
| getGNI | back to summary |
|---|---|
| private GeneralNameInterface getGNI(ObjectIdentifier oid, byte[] nameValue) throws IOException Get GeneralNameInterface | |
| getNameValue | back to summary |
|---|---|
| public byte[] getNameValue() Get name value | |
| getOID | back to summary |
|---|---|
| public ObjectIdentifier getOID() Get ObjectIdentifier | |
| getType | back to summary |
|---|---|
| public int getType() Implements sun. Return the type of the GeneralName. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code for this OtherName.
| |
| subtreeDepth | back to summary |
|---|---|
| public int subtreeDepth() Implements sun. Return subtree depth of this name for purposes of determining NameConstraints minimum and maximum bounds.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Convert the name into user readable string. | |