|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GSSException | |
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 GSSException in org.ietf.jgss |
Methods in org.ietf.jgss that throw GSSException | |
byte[] |
GSSContext.initSecContext(byte[] inputBuf,
int offset,
int len)
Called by the context initiator to start the context creation phase and process any tokens generated by the peer's acceptSecContext method. |
int |
GSSContext.initSecContext(InputStream inStream,
OutputStream outStream)
Called by the context initiator to start the context creation phase and process any tokens generated by the peer's acceptSecContext method using
streams. |
byte[] |
GSSContext.acceptSecContext(byte[] inToken,
int offset,
int len)
Called by the context acceptor upon receiving a token from the peer. |
void |
GSSContext.acceptSecContext(InputStream inStream,
OutputStream outStream)
Called by the context acceptor to process a token from the peer using streams. |
void |
GSSContext.dispose()
Releases any system resources and cryptographic information stored in the context object and invalidates the context. |
int |
GSSContext.getWrapSizeLimit(int qop,
boolean confReq,
int maxTokenSize)
Used to determine limits on the size of the message that can be passed to wrap . |
byte[] |
GSSContext.wrap(byte[] inBuf,
int offset,
int len,
MessageProp msgProp)
Applies per-message security services over the established security context. |
void |
GSSContext.wrap(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Applies per-message security services over the established security context using streams. |
byte[] |
GSSContext.unwrap(byte[] inBuf,
int offset,
int len,
MessageProp msgProp)
Used to process tokens generated by the wrap method on
the other side of the context. |
void |
GSSContext.unwrap(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Uses streams to process tokens generated by the wrap
method on the other side of the context. |
byte[] |
GSSContext.getMIC(byte[] inMsg,
int offset,
int len,
MessageProp msgProp)
Returns a token containing a cryptographic Message Integrity Code (MIC) for the supplied message, for transfer to the peer application. |
void |
GSSContext.getMIC(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Uses streams to produce a token containing a cryptographic MIC for the supplied message, for transfer to the peer application. |
void |
GSSContext.verifyMIC(byte[] inToken,
int tokOffset,
int tokLen,
byte[] inMsg,
int msgOffset,
int msgLen,
MessageProp msgProp)
Verifies the cryptographic MIC, contained in the token parameter, over the supplied message. |
void |
GSSContext.verifyMIC(InputStream tokStream,
InputStream msgStream,
MessageProp msgProp)
Uses streams to verify the cryptographic MIC, contained in the token parameter, over the supplied message. |
byte[] |
GSSContext.export()
Exports this context so that another process may import it.. |
void |
GSSContext.requestMutualAuth(boolean state)
Requests that mutual authentication be done during context establishment. |
void |
GSSContext.requestReplayDet(boolean state)
Requests that replay detection be enabled for the per-message security services after context establishemnt. |
void |
GSSContext.requestSequenceDet(boolean state)
Requests that sequence checking be enabled for the per-message security services after context establishemnt. |
void |
GSSContext.requestCredDeleg(boolean state)
Requests that the initiator's credentials be delegated to the acceptor during context establishment. |
void |
GSSContext.requestAnonymity(boolean state)
Requests that the initiator's identity not be disclosed to the acceptor. |
void |
GSSContext.requestConf(boolean state)
Requests that data confidentiality be enabled for the wrap method. |
void |
GSSContext.requestInteg(boolean state)
Requests that data integrity be enabled for the wrap and getMIC methods. |
void |
GSSContext.requestLifetime(int lifetime)
Requests a lifetime in seconds for the context. |
void |
GSSContext.setChannelBinding(ChannelBinding cb)
Sets the channel bindings to be used during context establishment. |
boolean |
GSSContext.isTransferable()
Determines if the context is transferable to other processes through the use of the export method. |
GSSName |
GSSContext.getSrcName()
Returns the name of the context initiator. |
GSSName |
GSSContext.getTargName()
Returns the name of the context acceptor. |
Oid |
GSSContext.getMech()
Determines what mechanism is being used for this context. |
GSSCredential |
GSSContext.getDelegCred()
Obtains the credentials delegated by the context initiator to the context acceptor. |
boolean |
GSSContext.isInitiator()
Determines if this is the context initiator. |
void |
GSSCredential.dispose()
Releases any sensitive information that the GSSCredential object may be containing. |
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. |
int |
GSSCredential.getRemainingLifetime()
Returns the remaining lifetime in seconds for a credential. |
int |
GSSCredential.getRemainingInitLifetime(Oid mech)
Returns the lifetime in seconds for the credential to remain capable of initiating security contexts using the specified mechanism. |
int |
GSSCredential.getRemainingAcceptLifetime(Oid mech)
Returns the lifetime in seconds for the credential to remain capable of accepting security contexts using the specified mechanism. |
int |
GSSCredential.getUsage()
Returns the credential usage mode. |
int |
GSSCredential.getUsage(Oid mech)
Returns the credential usage mode for a specific mechanism. |
Oid[] |
GSSCredential.getMechs()
Returns a list of mechanisms supported by this credential. |
void |
GSSCredential.add(GSSName name,
int initLifetime,
int acceptLifetime,
Oid mech,
int usage)
Adds a mechanism specific credential-element to an existing credential. |
abstract Oid[] |
GSSManager.getNamesForMech(Oid mech)
Returns then name types supported by the indicated 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(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(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. |
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 GSSCredential |
GSSManager.createCredential(int usage)
Factory method for acquiring default credentials. |
abstract GSSCredential |
GSSManager.createCredential(GSSName name,
int lifetime,
Oid mech,
int usage)
Factory method for acquiring a single mechanism credential. |
abstract GSSCredential |
GSSManager.createCredential(GSSName name,
int lifetime,
Oid[] mechs,
int usage)
Factory method for acquiring credentials over a set of mechanisms. |
abstract GSSContext |
GSSManager.createContext(GSSName peer,
Oid mech,
GSSCredential myCred,
int lifetime)
Factory method for creating a context on the initiator's side. |
abstract GSSContext |
GSSManager.createContext(GSSCredential myCred)
Factory method for creating a context on the acceptor' side. |
abstract GSSContext |
GSSManager.createContext(byte[] interProcessToken)
Factory method for creating a previously exported context. |
abstract void |
GSSManager.addProviderAtFront(Provider p,
Oid mech)
This method is used to indicate to the GSSManager that the application would like a particular provider to be used ahead of all others when support is desired for the given mechanism. |
abstract void |
GSSManager.addProviderAtEnd(Provider p,
Oid mech)
This method is used to indicate to the GSSManager that the application would like a particular provider to be used if no other provider can be found that supports the given mechanism. |
boolean |
GSSName.equals(GSSName another)
Compares two GSSName objects to determine if they refer to the
same entity. |
GSSName |
GSSName.canonicalize(Oid mech)
Creates a name that is canonicalized for some mechanism. |
byte[] |
GSSName.export()
Returns a canonical contiguous byte representation of a mechanism name (MN), suitable for direct, byte by byte comparison by authorization functions. |
Oid |
GSSName.getStringNameType()
Returns the name type of the printable representation of this name that can be obtained from the
toString method. |
byte[] |
Oid.getDER()
Returns the full ASN.1 DER encoding for this oid object, which includes the tag and length. |
Constructors in org.ietf.jgss that throw GSSException | |
Oid(String strOid)
Constructs an Oid object from a string representation of its integer components. |
|
Oid(InputStream derOid)
Creates an Oid object from its ASN.1 DER encoding. |
|
Oid(byte[] data)
Creates an Oid object from its ASN.1 DER encoding. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.