GlobusGSSName (Java Globus API)

org.globus.security.gsi.gssapi
Class GlobusGSSName

java.lang.Object
  |
  +--org.globus.security.gsi.gssapi.GlobusGSSName
All Implemented Interfaces:
org.ietf.jgss.GSSName

public class GlobusGSSName
extends java.lang.Object
implements org.ietf.jgss.GSSName


Field Summary
protected  java.lang.String subject
           
 
Fields inherited from interface org.ietf.jgss.GSSName
NT_ANONYMOUS, NT_EXPORT_NAME, NT_HOSTBASED_SERVICE, NT_MACHINE_UID_NAME, NT_STRING_UID_NAME, NT_USER_NAME
 
Constructor Summary
GlobusGSSName(GlobusProxy proxy)
           
GlobusGSSName(java.lang.String subject)
           
GlobusGSSName(java.security.cert.X509Certificate certificate)
           
 
Method Summary
 org.ietf.jgss.GSSName canonicalize(org.ietf.jgss.Oid mech)
           
 boolean equals(org.ietf.jgss.GSSName another)
           
 byte[] export()
           
 org.ietf.jgss.Oid getStringNameType()
           
 boolean isAnonymous()
           
 boolean isMN()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ietf.jgss.GSSName
equals, hashCode
 

Field Detail

subject

protected java.lang.String subject
Constructor Detail

GlobusGSSName

public GlobusGSSName(GlobusProxy proxy)

GlobusGSSName

public GlobusGSSName(java.security.cert.X509Certificate certificate)

GlobusGSSName

public GlobusGSSName(java.lang.String subject)
Method Detail

isAnonymous

public boolean isAnonymous()
Specified by:
isAnonymous in interface org.ietf.jgss.GSSName

isMN

public boolean isMN()
Specified by:
isMN in interface org.ietf.jgss.GSSName

getStringNameType

public org.ietf.jgss.Oid getStringNameType()
                                    throws org.ietf.jgss.GSSException
Specified by:
getStringNameType in interface org.ietf.jgss.GSSName
org.ietf.jgss.GSSException

export

public byte[] export()
              throws org.ietf.jgss.GSSException
Specified by:
export in interface org.ietf.jgss.GSSName
org.ietf.jgss.GSSException

canonicalize

public org.ietf.jgss.GSSName canonicalize(org.ietf.jgss.Oid mech)
                                   throws org.ietf.jgss.GSSException
Specified by:
canonicalize in interface org.ietf.jgss.GSSName
org.ietf.jgss.GSSException

equals

public boolean equals(org.ietf.jgss.GSSName another)
               throws org.ietf.jgss.GSSException
Specified by:
equals in interface org.ietf.jgss.GSSName
org.ietf.jgss.GSSException

toString

public java.lang.String toString()
Specified by:
toString in interface org.ietf.jgss.GSSName
Overrides:
toString in class java.lang.Object