Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cconlon/kerberos-java-gssapi
/ functions
Functions
225 in github.com/cconlon/kerberos-java-gssapi
⨍
Functions
225
◇
Types & classes
30
↓ 45 callers
Method
displayError
(String msg, long[] min_stat, long maj_stat)
examples/Util.java:62
↓ 34 callers
Method
equals
Compares two GSSName objects to determine if they refer to the same entity. If the names cannot be compared, a GSSException may be thrown. @param ano
src/java/org/ietf/jgss/GSSName.java:125
↓ 33 callers
Method
printSubString
(String first, String second)
examples/GssUtil.java:178
↓ 27 callers
Method
setLength
(int length)
src/java/edu/mit/jgss/DerHeader.java:49
↓ 26 callers
Method
getLength
()
src/java/edu/mit/jgss/DerHeader.java:40
↓ 16 callers
Method
createName
Converts a contiguous string name from the specified namespace to a GSSName object. In general, the GSSName object created will not be a MN. @param n
src/java/org/ietf/jgss/GSSManager.java:97
↓ 16 callers
Method
toString
Returns a textual representation of the GSSName object. @return textual representation of the GSSName object.
src/java/org/ietf/jgss/GSSName.java:165
↓ 10 callers
Method
getNativeOid
()
src/java/edu/mit/jgss/OidImpl.java:52
↓ 7 callers
Method
ReadToken
(InputStream inStream)
examples/Util.java:145
↓ 7 callers
Method
setPrivacy
Sets the privacy state. @param privState the privacy state. Use "true" for privacy, "false" for integrity only.
src/java/org/ietf/jgss/MessageProp.java:133
↓ 6 callers
Method
WriteToken
(OutputStream outStream, byte[] outputToken)
examples/Util.java:107
↓ 6 callers
Method
freeStructs
()
src/java/org/ietf/jgss/Oid.java:253
↓ 6 callers
Method
getNewOid
package-scope method used in GSSName.java to create a new Oid object. @param strOid Oid in dot-separated String representation @return new Oid object
src/java/org/ietf/jgss/Oid.java:240
↓ 6 callers
Method
toString
Returns a string representation of the Oid's integer components in the dot separated notation. @return string representation of the Oid's integer com
src/java/org/ietf/jgss/Oid.java:145
↓ 5 callers
Method
getInstance
Returns the default GSSManager implementation. @return default GSSManager implementation.
src/java/org/ietf/jgss/GSSManager.java:50
↓ 5 callers
Method
getInternGSSName
Returns the internal SWIG-generated object of type gss_name_t_desc. Used in functions from GSSNameImpl.java @return internal gss_name_t_desc object
src/java/org/ietf/jgss/GSSName.java:200
↓ 5 callers
Method
getMessage
()
src/java/org/ietf/jgss/GSSException.java:132
↓ 4 callers
Method
WriteToken
(OutputStream outStream, byte[] outputToken)
examples/GssUtil.java:55
↓ 4 callers
Method
byteArrayToInt
(byte[] data)
examples/Util.java:219
↓ 4 callers
Method
canonicalize
Creates a mechanism name (MN) from an arbitrary internal name. @param mech Oid for the mechanism for which the canonical form of the name is requeste
src/java/org/ietf/jgss/GSSName.java:147
↓ 4 callers
Method
dispose
Releases any system resources and cryptographic information stored in the context object. This will invalidate the context. @throws GSSException
src/java/org/ietf/jgss/GSSContext.java:129
↓ 4 callers
Method
getDER
Returns the full ASN.1 DER encoding for the Oid object. This encoding includes the tag and length. @return full ASN.1 DER encoding for the Oid object
src/java/org/ietf/jgss/Oid.java:201
↓ 4 callers
Method
getInternGSSName
()
src/java/edu/mit/jgss/GSSNameImpl.java:237
↓ 4 callers
Method
getName
Retrieves the name of the entity that the credential asserts. @return name of entity that the credential asserts. @throws GSSException
src/java/org/ietf/jgss/GSSCredential.java:83
↓ 4 callers
Method
getPrivacy
Returns the privacy state. @return current privacy state. "true" indicates privacy, "false" indicates integrity only.
src/java/org/ietf/jgss/MessageProp.java:89
↓ 4 callers
Method
getQOP
Returns the QOP value. @return current QOP value.
src/java/org/ietf/jgss/MessageProp.java:78
↓ 4 callers
Method
getTargName
Returns the name of the context target (acceptor). @return the GSSName of the context target (acceptor).
src/java/org/ietf/jgss/GSSContext.java:500
↓ 4 callers
Method
setInternGSSName
Sets the internal SWIG-generated object of type gss_name_t_desc. Used in functions from GSSNameImpl.java @return 0 on success, -1 on failure
src/java/org/ietf/jgss/GSSName.java:209
↓ 4 callers
Method
setQOP
Sets the QOP value. @param qopValue QOP value to be set. Use 0 to request a default QOP value.
src/java/org/ietf/jgss/MessageProp.java:122
↓ 3 callers
Method
ReadToken
(InputStream inStream)
examples/GssUtil.java:93
↓ 3 callers
Method
acquireCred
(GSSName desiredName, int timeReq, Oid[] desiredMechs, int credUsage)
src/java/edu/mit/jgss/GSSCredentialImpl.java:349
↓ 3 callers
Method
createContext
Creates a context on the initiator's side. Context flags may be modified through the mutator methods prior to calling GSSContext.initSecContext(). @p
src/java/org/ietf/jgss/GSSManager.java:227
↓ 3 callers
Method
freeGSSName
()
src/java/edu/mit/jgss/GSSNameImpl.java:353
↓ 3 callers
Method
getBytes
()
src/java/edu/mit/jgss/DerHeader.java:44
↓ 3 callers
Method
isDuplicateToken
Returns "true" if this is a duplicate of an earlier token. @return "true" if token is a duplicate, "false" otherwise.
src/java/org/ietf/jgss/MessageProp.java:143
↓ 3 callers
Method
isEstablished
Used during the context establishment to determine the state of the context. @return "true" if the context is fully established on the caller's side
src/java/org/ietf/jgss/GSSContext.java:121
↓ 3 callers
Method
isGapToken
Returns "true" if an expected per-message token was not received. @return "true" if expected per-message token was not received.
src/java/org/ietf/jgss/MessageProp.java:173
↓ 3 callers
Method
isOldToken
Returns "true" if the token's validity period has expired. @return "true" if the token has expired, "false" otherwise.
src/java/org/ietf/jgss/MessageProp.java:153
↓ 3 callers
Method
printByteArray
(byte[] input)
examples/Util.java:199
↓ 3 callers
Method
setReturnedFlags
(long retFlags)
src/java/edu/mit/jgss/GSSContextImpl.java:1084
↓ 3 callers
Method
setSupplementaryStates
Sets the supplementary information flags and the minor status. @param duplicate "true" if token was a duplicate of an earlier token; otherwise, "fals
src/java/org/ietf/jgss/MessageProp.java:193
↓ 3 callers
Method
verifyOid
Verifies that an OID is in dot-separated string format. TODO: Make this more robust. @param oid OID to verify @return true if OID is valid, false oth
src/java/edu/mit/jgss/OidUtil.java:181
↓ 2 callers
Method
containedIn
Tests if an Oid object is contained in the given Oid object array. @param oids the array of Oid objects to test against. @return "true" if the Oid ob
src/java/org/ietf/jgss/Oid.java:220
↓ 2 callers
Method
convertLifetime
(int smLife)
src/java/edu/mit/jgss/GSSContextImpl.java:1123
↓ 2 callers
Method
createCredential
Acquires default credentials. This causes the GSS-API to use system-specific defaults for the set of mechanisms, name, and a DEFAULT lifetime. @param
src/java/org/ietf/jgss/GSSManager.java:164
↓ 2 callers
Method
display_status
(long[] min_stat, long maj_stat)
examples/Util.java:73
↓ 2 callers
Method
equals
Compares two Oid objects, returning "true" if the two represent the same Oid value. Two Oid objects are equal when the integer result from hashCode()
src/java/org/ietf/jgss/Oid.java:178
↓ 2 callers
Method
export
Returns a canonical contiguous byte representation of a mechanism name (MN), suitable for direct, byte-by-byte comparison by authorization functions.
src/java/org/ietf/jgss/GSSName.java:158
↓ 2 callers
Method
freeOid
()
src/java/edu/mit/jgss/OidImpl.java:63
↓ 2 callers
Method
getAnonymityState
Returns "true if this is an anonymous context. @return desired state when issued before context establishment is completed or when the isProtoReady m
src/java/org/ietf/jgss/GSSContext.java:445
↓ 2 callers
Method
getConfState
Returns the confidentiality service state over the context. @return "true" when confidentiality services are available, otherwise, "false".
src/java/org/ietf/jgss/GSSContext.java:472
↓ 2 callers
Method
getCredDelegState
Returns the state of the delegated credentials for the context. @return desired state when issued before context establishment is completed or when t
src/java/org/ietf/jgss/GSSContext.java:409
↓ 2 callers
Method
getHeader
(InputStream in)
src/java/edu/mit/jgss/DerUtil.java:47
↓ 2 callers
Method
getIntegState
Returns the integrity service state over the context. @return "true" if integrity services are available, otherwise "false".
src/java/org/ietf/jgss/GSSContext.java:479
↓ 2 callers
Method
getInternGSSCred
()
src/java/edu/mit/jgss/GSSCredentialImpl.java:421
↓ 2 callers
Method
getLifetime
Returns the context lifetime in seconds. @return context lifetime in seconds.
src/java/org/ietf/jgss/GSSContext.java:486
↓ 2 callers
Method
getMech
Returns the mechanism Oid for this context. @return mechanism Oid for the context. @throws GSSException
src/java/org/ietf/jgss/GSSContext.java:508
↓ 2 callers
Method
getMutualAuthState
Returns the state of the mutual authentication option for the context. @return desired state when issued before context establishment is completed or
src/java/org/ietf/jgss/GSSContext.java:418
↓ 2 callers
Method
getNativeChannelBindings
()
src/java/edu/mit/jgss/ChannelBindingImpl.java:50
↓ 2 callers
Method
getReplayDetState
Returns the state of the replay detection option for the context. @return desired state when issued before context establishment is completed or when
src/java/org/ietf/jgss/GSSContext.java:427
↓ 2 callers
Method
getRequestedFlags
()
src/java/edu/mit/jgss/GSSContextImpl.java:1061
↓ 2 callers
Method
getSequenceDetState
Returns the state of the sequence detection option for the context. @return desired state when issued before context establishment is completed or wh
src/java/org/ietf/jgss/GSSContext.java:436
↓ 2 callers
Method
getSrcName
Returns the name of the context initiator. Guaranteed to return an MN. @return the GSSName of the context initiator.
src/java/org/ietf/jgss/GSSContext.java:493
↓ 2 callers
Method
importName
(String nameStr, Oid nameType)
src/java/edu/mit/jgss/GSSNameImpl.java:251
↓ 2 callers
Method
intToByteArray
(int input)
examples/Util.java:208
↓ 2 callers
Method
isAnonymous
Tests if the GSSName object represents an anonymous entity. @return "true" if the GSSName object is an anonymous name, "false" otherwise.
src/java/org/ietf/jgss/GSSName.java:182
↓ 2 callers
Method
isInitiator
Tests if this is the initiator of the context. @return "true" if this is the initator of the context, otherwise, "false". @throws GSSException
src/java/org/ietf/jgss/GSSContext.java:526
↓ 2 callers
Method
isMN
Tests if the GSSName object contains only one mechanism element and is thus a mechanism name. @return "true" if the GSSName object is a mechanism nam
src/java/org/ietf/jgss/GSSName.java:191
↓ 2 callers
Method
isProtReady
Test if the per-message operations can be applied over the context, also indicating if the get methods will return actual context state characteristic
src/java/org/ietf/jgss/GSSContext.java:464
↓ 2 callers
Method
isProtReady
()
src/java/edu/mit/jgss/GSSContextImpl.java:1013
↓ 2 callers
Method
isUnseqToken
Returns "true" if a later token has already been processed. @return "true" if a later token has been processed.
src/java/org/ietf/jgss/MessageProp.java:163
↓ 2 callers
Method
setAppData
(byte[] appData)
src/java/org/ietf/jgss/ChannelBinding.java:202
↓ 2 callers
Method
setInternGSSCred
(gss_cred_id_t_desc newCred)
src/java/edu/mit/jgss/GSSCredentialImpl.java:425
↓ 2 callers
Method
setInternGSSName
(gss_name_t_desc newName)
src/java/edu/mit/jgss/GSSNameImpl.java:241
↓ 1 callers
Method
AcquireServerCreds
(String serviceName)
examples/server.java:161
↓ 1 callers
Method
AltCommunicate
(Socket inSocket, InputStream clientIn, OutputStream clientOut)
examples/server.java:372
↓ 1 callers
Method
AltCommunicate
(Socket clientSocket, InputStream serverIn, OutputStream serverOut)
examples/client.java:489
↓ 1 callers
Method
Authenticate
(Socket inSocket, InputStream clientIn, OutputStream clientOut)
examples/server.java:195
↓ 1 callers
Method
Authenticate
(Socket clientSocket, InputStream serverIn, OutputStream serverOut, String inClientNam
examples/client.java:178
↓ 1 callers
Method
Communicate
(Socket inSocket, InputStream clientIn, OutputStream clientOut)
examples/server.java:306
↓ 1 callers
Method
Communicate
(Socket clientSocket, InputStream serverIn, OutputStream serverOut)
examples/client.java:425
↓ 1 callers
Method
MiscFunctionTests
()
examples/client.java:797
↓ 1 callers
Method
OidStream2DER
Converts a DER-encoded Oid from an InputStream to a dot-separated String representation. @param oid DER-encoded Oid InputStream @return Oid in dot-se
src/java/edu/mit/jgss/OidUtil.java:61
↓ 1 callers
Method
OidString2DER
Converts an Oid in dot-separated string representation to a DER-encoded byte array. @param oid Oid in dot-separated String representation @return DER
src/java/edu/mit/jgss/OidUtil.java:92
↓ 1 callers
Method
PrintContextInfo
()
examples/client.java:575
↓ 1 callers
Method
acceptSecContext
Called by the context acceptor upon receiving a token from the peer. This method may return an output token that the application will need to send to
src/java/org/ietf/jgss/GSSContext.java:96
↓ 1 callers
Method
connectToServer
Connect to example GSS-API server, using specified port and service name.
examples/gssClient.java:96
↓ 1 callers
Method
createName
(String nameStr, Oid nameType)
src/java/edu/mit/jgss/GSSManagerImpl.java:149
↓ 1 callers
Method
doCommunication
Communicate with the server. First send a message that has been wrapped with context.wrap(), then verify the signature block which the server sends ba
examples/gssClient.java:223
↓ 1 callers
Method
equals
Returns "true" if two ChannelBinding objects match. @return "true" if the two objects are equal, "false" otherwise.
src/java/org/ietf/jgss/ChannelBinding.java:182
↓ 1 callers
Method
errorExit
(String msg, long[] min_stat, long maj_stat)
examples/Util.java:50
↓ 1 callers
Method
establishContext
Establish a GSS-API context with example server, calling initSecContext() until context.isEstablished() is true. This method also tests exporting and
examples/gssClient.java:151
↓ 1 callers
Method
freeGSSCredential
()
src/java/edu/mit/jgss/GSSCredentialImpl.java:435
↓ 1 callers
Method
getAcceptorAddress
Returns the address of the context acceptor. @return address of the context acceptor.
src/java/org/ietf/jgss/ChannelBinding.java:153
↓ 1 callers
Method
getApplicationData
Returns the application data being used as part of the ChannelBinding. "null" is returned if no application data has been specified for the channel bi
src/java/org/ietf/jgss/ChannelBinding.java:166
↓ 1 callers
Method
getInitiatorAddress
Returns the address of the context initiator. @return address of the context initiator.
src/java/org/ietf/jgss/ChannelBinding.java:143
↓ 1 callers
Method
getMIC
Returns a token containing a cryptographic MIC for the supplied message for transfer to the peer application. Privacy can only be applied through the
src/java/org/ietf/jgss/GSSContext.java:239
↓ 1 callers
Method
getMajor
()
src/java/org/ietf/jgss/GSSException.java:76
↓ 1 callers
Method
getMajorString
()
src/java/org/ietf/jgss/GSSException.java:84
↓ 1 callers
Method
getMinor
()
src/java/org/ietf/jgss/GSSException.java:80
next →
1–100 of 225, ranked by callers