| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private String | |
| private Oid | |
| private HashMap | |
| private GSSManagerImpl | |
| private GSSNameSpi | |
| pack-priv static final Oid | oldHostbasedServiceName
The old Oid used in RFC 2853. |
| private String | |
| private Oid |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public GSSName | canonicalize(Oid mech)
Implements org. Creates a name that is canonicalized for some mechanism. |
| public boolean | equals(GSSName other)
Implements org. This method may return false negatives. |
| public boolean | equals(Object another)
Overrides java. Implements org. Compares this |
| public byte[] | Returns: the flat name representation for this objectImplements org. Returns a flat name representation for this object. |
| public synchronized GSSNameSpi | |
| pack-priv Set | |
| private static String | |
| public Oid | getStringNameType()
Implements org. Returns the name type of the printable
representation of this name that can be obtained from the |
| public int | Returns: a hashcode value for this GSSNameOverrides java. Implements org. Returns a hashcode value for this GSSName. |
| private void | |
| private void | |
| public boolean | isAnonymous()
Implements org. Tests if this name object represents an anonymous entity. |
| public boolean | isMN()
Implements org. Tests if this name object represents a Mechanism Name (MN). |
| public String | toString()
Overrides java. Implements org. Returns a textual representation of the |
| pack-priv static GSSNameImpl |
| appNameBytes | back to summary |
|---|---|
| private byte[] appNameBytes | |
| appNameStr | back to summary |
|---|---|
| private String appNameStr | |
| appNameType | back to summary |
|---|---|
| private Oid appNameType | |
| elements | back to summary |
|---|---|
| private HashMap<Oid, GSSNameSpi> elements | |
| gssManager | back to summary |
|---|---|
| private GSSManagerImpl gssManager | |
| mechElement | back to summary |
|---|---|
| private GSSNameSpi mechElement | |
| oldHostbasedServiceName | back to summary |
|---|---|
| pack-priv static final Oid oldHostbasedServiceName The old Oid used in RFC 2853. Now supported as input parameters in: 1. The four overloaded GSSManager.createName(*) methods 2. GSSManager.getMechsForName(Oid) Note that even if a GSSName is created with this old Oid, its internal name type and getStringNameType() output are always the new value. | |
| printableName | back to summary |
|---|---|
| private String printableName | |
| printableNameType | back to summary |
|---|---|
| private Oid printableNameType | |
| GSSNameImpl | back to summary |
|---|---|
| pack-priv GSSNameImpl(GSSManagerImpl gssManager, GSSNameSpi mechElement) | |
| GSSNameImpl | back to summary |
|---|---|
| pack-priv GSSNameImpl(GSSManagerImpl gssManager, Object appName, Oid appNameType) throws GSSException | |
| GSSNameImpl | back to summary |
|---|---|
| pack-priv GSSNameImpl(GSSManagerImpl gssManager, Object appName, Oid appNameType, Oid mech) throws GSSException | |
| canonicalize | back to summary |
|---|---|
| public GSSName canonicalize(Oid mech) throws GSSException Implements org. Doc from org. Creates a name that is canonicalized for some mechanism.
| |
| equals | back to summary |
|---|---|
| public boolean equals(GSSName other) throws GSSException Implements org. This method may return false negatives. But if it says two names are equals, then there is some mechanism that authenticates them as the same principal.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object another) Overrides java. Implements org. Doc from org. Compares this
| |
| export | back to summary |
|---|---|
| public byte[] export() throws GSSException Implements org. Returns a flat name representation for this object. The name format is defined in RFC 2743:
Length Name Description
2 TOK_ID Token Identifier
For exported name objects, this
must be hex 04 01.
2 MECH_OID_LEN Length of the Mechanism OID
MECH_OID_LEN MECH_OID Mechanism OID, in DER
4 NAME_LEN Length of name
NAME_LEN NAME Exported name; format defined in
applicable mechanism draft.
Note that it is not required to canonicalize a name before
calling export(). i.e., the name need not be an MN. If it is
not an MN, an implementation defined algorithm can be used for
choosing the mechanism which should export this name.
| |
| getElement | back to summary |
|---|---|
| public synchronized GSSNameSpi getElement(Oid mechOid) throws GSSException | |
| getElements | back to summary |
|---|---|
| pack-priv Set | |
| getNameTypeStr | back to summary |
|---|---|
| private static String getNameTypeStr(Oid nameTypeOid) | |
| getStringNameType | back to summary |
|---|---|
| public Oid getStringNameType() throws GSSException Implements org. Doc from org. Returns the name type of the printable
representation of this name that can be obtained from the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Returns a hashcode value for this GSSName.
| |
| importName | back to summary |
|---|---|
| private void importName(GSSManagerImpl gssManager, Object appName) throws GSSException | |
| init | back to summary |
|---|---|
| private void init(GSSManagerImpl gssManager, Object appName, Oid appNameType, Oid mech) throws GSSException | |
| isAnonymous | back to summary |
|---|---|
| public boolean isAnonymous() Implements org. Doc from org. Tests if this name object represents an anonymous entity. | |
| isMN | back to summary |
|---|---|
| public boolean isMN() Implements org. Doc from org. Tests if this name object represents a Mechanism Name (MN). An MN is a GSSName the contains exactly one mechanism's primitive name element. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements org. Doc from org. Returns a textual representation of the | |
| wrapElement | back to summary |
|---|---|
| pack-priv static GSSNameImpl wrapElement(GSSManagerImpl gssManager, GSSNameSpi mechElement) throws GSSException | |