## Uses of Interface
org.ietf.jgss.GSSName

- Packages that use GSSName
  Package | Description
  --- | ---
  org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.

- - ### Uses of GSSName in org.ietf.jgss

    Methods in org.ietf.jgss that return GSSName
    Modifier and Type | Method and Description
    --- | ---
    `GSSName` | GSSName.`canonicalize(Oid mech)` Creates a name that is canonicalized for some mechanism.
    `abstract GSSName` | GSSManager.`createName(byte[] name, Oid nameType)` Factory method to convert a byte array containing a name from the specified namespace to a GSSName object.
    `abstract GSSName` | GSSManager.`createName(byte[] name, Oid nameType, Oid mech)` Factory method to convert a byte array containing a name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.
    `abstract GSSName` | GSSManager.`createName(String nameStr, Oid nameType)` Factory method to convert a string name from the specified namespace to a GSSName object.
    `abstract GSSName` | GSSManager.`createName(String nameStr, Oid nameType, Oid mech)` Factory method to convert a string name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.
    `GSSName` | GSSCredential.`getName()` Retrieves the name of the entity that the credential asserts.
    `GSSName` | GSSCredential.`getName(Oid mech)` Retrieves a Mechanism Name of the entity that the credential asserts.
    `GSSName` | GSSContext.`getSrcName()` Returns the name of the context initiator.
    `GSSName` | GSSContext.`getTargName()` Returns the name of the context acceptor.

    Methods in org.ietf.jgss with parameters of type GSSName
    Modifier and Type | Method and Description
    --- | ---
    `void` | GSSCredential.`add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage)` Adds a mechanism specific credential-element to an existing credential.
    `abstract GSSContext` | GSSManager.`createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)` Factory method for creating a context on the initiator's side.
    `abstract GSSCredential` | GSSManager.`createCredential(GSSName name, int lifetime, Oid[] mechs, int usage)` Factory method for acquiring credentials over a set of mechanisms.
    `abstract GSSCredential` | GSSManager.`createCredential(GSSName name, int lifetime, Oid mech, int usage)` Factory method for acquiring a single mechanism credential.
    `boolean` | GSSName.`equals(GSSName another)` Compares two `GSSName` objects to determine if they refer to the same entity.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.