org.ietf.jgss
8 classes of the module java.security.jgss.
Load them with:
using {
"org.ietf.jgss"
}
ChannelBinding#
class · extends Object · org.ietf.jgss.ChannelBinding
Constructors
new ChannelBinding(byte[] appData) |
new ChannelBinding(InetAddress initAddr, InetAddress acceptAddr, byte[] appData) |
Ring: new ChannelBinding(args) uses the constructor with the fewest parameters (at least one); new ChannelBinding makes the object with the constructor without parameters; the others: (new ChannelBinding).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAcceptorAddress | getAcceptorAddress() | InetAddress getAcceptorAddress() |
getApplicationData | getApplicationData() | byte[] getApplicationData() |
getInitiatorAddress | getInitiatorAddress() | InetAddress getInitiatorAddress() |
The methods and fields of Object are inherited.
GSSContext#
interface · org.ietf.jgss.GSSContext
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DEFAULT_LIFETIME | int | constant · static | o.DEFAULT_LIFETIME |
INDEFINITE_LIFETIME | int | constant · static | o.INDEFINITE_LIFETIME |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
acceptSecContext | acceptSecContext([inStream,outStream])acceptSecContext([ :inStream = v, :outStream = v ])acceptSecContext([inToken,offset,len])acceptSecContext([ :inToken = v, :offset = v, :len = v ]) | void acceptSecContext(InputStream inStream, OutputStream outStream)byte[] acceptSecContext(byte[] inToken, int offset, int len) |
dispose | dispose() | void dispose() |
export | export() | byte[] export() |
getAnonymityState | getAnonymityState() | boolean getAnonymityState() |
getConfState | getConfState() | boolean getConfState() |
getCredDelegState | getCredDelegState() | boolean getCredDelegState() |
getDelegCred | getDelegCred() | GSSCredential getDelegCred() |
getIntegState | getIntegState() | boolean getIntegState() |
getLifetime | getLifetime() | int getLifetime() |
getMech | getMech() | Oid getMech() |
getMIC | getMIC([inStream,outStream,msgProp])getMIC([ :inStream = v, :outStream = v, :msgProp = v ])getMIC([inMsg,offset,len,msgProp])getMIC([ :inMsg = v, :offset = v, :len = v, :msgProp = v ]) | void getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp)byte[] getMIC(byte[] inMsg, int offset, int len, MessageProp msgProp) |
getMutualAuthState | getMutualAuthState() | boolean getMutualAuthState() |
getReplayDetState | getReplayDetState() | boolean getReplayDetState() |
getSequenceDetState | getSequenceDetState() | boolean getSequenceDetState() |
getSrcName | getSrcName() | GSSName getSrcName() |
getTargName | getTargName() | GSSName getTargName() |
getWrapSizeLimit | getWrapSizeLimit(qop,confReq,maxTokenSize) | int getWrapSizeLimit(int qop, boolean confReq, int maxTokenSize) |
initSecContext | initSecContext([inStream,outStream])initSecContext([ :inStream = v, :outStream = v ])initSecContext([inputBuf,offset,len])initSecContext([ :inputBuf = v, :offset = v, :len = v ]) | int initSecContext(InputStream inStream, OutputStream outStream)byte[] initSecContext(byte[] inputBuf, int offset, int len) |
isEstablished | isEstablished() | boolean isEstablished() |
isInitiator | isInitiator() | boolean isInitiator() |
isProtReady | isProtReady() | boolean isProtReady() |
isTransferable | isTransferable() | boolean isTransferable() |
requestAnonymity | requestAnonymity(state) | void requestAnonymity(boolean state) |
requestConf | requestConf(state) | void requestConf(boolean state) |
requestCredDeleg | requestCredDeleg(state) | void requestCredDeleg(boolean state) |
requestInteg | requestInteg(state) | void requestInteg(boolean state) |
requestLifetime | requestLifetime(lifetime) | void requestLifetime(int lifetime) |
requestMutualAuth | requestMutualAuth(state) | void requestMutualAuth(boolean state) |
requestReplayDet | requestReplayDet(state) | void requestReplayDet(boolean state) |
requestSequenceDet | requestSequenceDet(state) | void requestSequenceDet(boolean state) |
setChannelBinding | setChannelBinding(cb) | void setChannelBinding(ChannelBinding cb) |
unwrap | unwrap([inStream,outStream,msgProp])unwrap([ :inStream = v, :outStream = v, :msgProp = v ])unwrap([inBuf,offset,len,msgProp])unwrap([ :inBuf = v, :offset = v, :len = v, :msgProp = v ]) | void unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)byte[] unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp) |
verifyMIC | verifyMIC([tokStream,msgStream,msgProp])verifyMIC([ :tokStream = v, :msgStream = v, :msgProp = v ])verifyMIC([inToken,tokOffset,tokLen,inMsg,msgOffset,msgLen,msgProp])verifyMIC([ :inToken = v, :tokOffset = v, :tokLen = v, :inMsg = v, :msgOffset = v, :msgLen = v, :msgProp = v ]) | void verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp)void verifyMIC(byte[] inToken, int tokOffset, int tokLen, byte[] inMsg, int msgOffset, int msgLen, MessageProp msgProp) |
wrap | wrap([inStream,outStream,msgProp])wrap([ :inStream = v, :outStream = v, :msgProp = v ])wrap([inBuf,offset,len,msgProp])wrap([ :inBuf = v, :offset = v, :len = v, :msgProp = v ]) | void wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)byte[] wrap(byte[] inBuf, int offset, int len, MessageProp msgProp) |
GSSCredential#
interface · org.ietf.jgss.GSSCredential
Extends: Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INITIATE_AND_ACCEPT | int | constant · static | o.INITIATE_AND_ACCEPT |
INITIATE_ONLY | int | constant · static | o.INITIATE_ONLY |
ACCEPT_ONLY | int | constant · static | o.ACCEPT_ONLY |
DEFAULT_LIFETIME | int | constant · static | o.DEFAULT_LIFETIME |
INDEFINITE_LIFETIME | int | constant · static | o.INDEFINITE_LIFETIME |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getName | @getName(mech) | GSSName getName(Oid mech) |
@getUsage | @getUsage(mech) | int getUsage(Oid mech) |
add | add(name,initLifetime,acceptLifetime,mech,usage) | void add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage) |
dispose | dispose() | void dispose() |
equals | equals(another) | boolean equals(Object another) |
getMechs | getMechs() | Oid[] getMechs() |
getName | getName() | GSSName getName() |
getRemainingAcceptLifetime | getRemainingAcceptLifetime(mech) | int getRemainingAcceptLifetime(Oid mech) |
getRemainingInitLifetime | getRemainingInitLifetime(mech) | int getRemainingInitLifetime(Oid mech) |
getRemainingLifetime | getRemainingLifetime() | int getRemainingLifetime() |
getUsage | getUsage() | int getUsage() |
hashCode | hashCode() | int hashCode() |
GSSException#
class · extends Exception · org.ietf.jgss.GSSException
Constructors
new GSSException(int majorCode) |
new GSSException(int majorCode, int minorCode, String minorString) |
Ring: new GSSException(args) uses the constructor with the fewest parameters (at least one); new GSSException makes the object with the constructor without parameters; the others: (new GSSException).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BAD_BINDINGS | int | constant · static | o.BAD_BINDINGS |
BAD_MECH | int | constant · static | o.BAD_MECH |
BAD_NAME | int | constant · static | o.BAD_NAME |
BAD_NAMETYPE | int | constant · static | o.BAD_NAMETYPE |
BAD_STATUS | int | constant · static | o.BAD_STATUS |
BAD_MIC | int | constant · static | o.BAD_MIC |
CONTEXT_EXPIRED | int | constant · static | o.CONTEXT_EXPIRED |
CREDENTIALS_EXPIRED | int | constant · static | o.CREDENTIALS_EXPIRED |
DEFECTIVE_CREDENTIAL | int | constant · static | o.DEFECTIVE_CREDENTIAL |
DEFECTIVE_TOKEN | int | constant · static | o.DEFECTIVE_TOKEN |
FAILURE | int | constant · static | o.FAILURE |
NO_CONTEXT | int | constant · static | o.NO_CONTEXT |
NO_CRED | int | constant · static | o.NO_CRED |
BAD_QOP | int | constant · static | o.BAD_QOP |
UNAUTHORIZED | int | constant · static | o.UNAUTHORIZED |
UNAVAILABLE | int | constant · static | o.UNAVAILABLE |
DUPLICATE_ELEMENT | int | constant · static | o.DUPLICATE_ELEMENT |
NAME_NOT_MN | int | constant · static | o.NAME_NOT_MN |
DUPLICATE_TOKEN | int | constant · static | o.DUPLICATE_TOKEN |
OLD_TOKEN | int | constant · static | o.OLD_TOKEN |
UNSEQ_TOKEN | int | constant · static | o.UNSEQ_TOKEN |
GAP_TOKEN | int | constant · static | o.GAP_TOKEN |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMajor | getMajor() | int getMajor() |
getMajorString | getMajorString() | String getMajorString() |
getMinor | getMinor() | int getMinor() |
getMinorString | getMinorString() | String getMinorString() |
setMinor | setMinor(minorCode,message) | void setMinor(int minorCode, String message) |
The methods and fields of Exception are inherited.
GSSManager#
abstract · extends Object · org.ietf.jgss.GSSManager
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addProviderAtEnd | addProviderAtEnd(p,mech) | void addProviderAtEnd(Provider p, Oid mech) |
addProviderAtFront | addProviderAtFront(p,mech) | void addProviderAtFront(Provider p, Oid mech) |
createContext | createContext(myCred)createContext([peer,mech,myCred,lifetime])createContext([ :peer = v, :mech = v, :myCred = v, :lifetime = v ]) | GSSContext createContext(GSSCredential myCred)GSSContext createContext(byte[] interProcessToken)GSSContext createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime) |
createCredential | createCredential(usage)createCredential([name,lifetime,mech,usage])createCredential([ :name = v, :lifetime = v, :mech = v, :usage = v ]) | GSSCredential createCredential(int usage)GSSCredential createCredential(GSSName name, int lifetime, Oid mech, int usage)GSSCredential createCredential(GSSName name, int lifetime, Oid[] mechs, int usage) |
createName | createName([name,nameType])createName([ :name = v, :nameType = v ])createName([nameStr,nameType,mech])createName([ :nameStr = v, :nameType = v, :mech = v ]) | GSSName createName(byte[] name, Oid nameType)GSSName createName(String nameStr, Oid nameType)GSSName createName(String nameStr, Oid nameType, Oid mech)GSSName createName(byte[] name, Oid nameType, Oid mech) |
getInstance | getInstance() | static GSSManager getInstance() |
getMechs | getMechs() | Oid[] getMechs() |
getMechsForName | getMechsForName(nameType) | Oid[] getMechsForName(Oid nameType) |
getNamesForMech | getNamesForMech(mech) | Oid[] getNamesForMech(Oid mech) |
The methods and fields of Object are inherited.
GSSName#
interface · org.ietf.jgss.GSSName
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NT_HOSTBASED_SERVICE | Oid | constant · static | o.NT_HOSTBASED_SERVICE |
NT_USER_NAME | Oid | constant · static | o.NT_USER_NAME |
NT_MACHINE_UID_NAME | Oid | constant · static | o.NT_MACHINE_UID_NAME |
NT_STRING_UID_NAME | Oid | constant · static | o.NT_STRING_UID_NAME |
NT_ANONYMOUS | Oid | constant · static | o.NT_ANONYMOUS |
NT_EXPORT_NAME | Oid | constant · static | o.NT_EXPORT_NAME |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
canonicalize | canonicalize(mech) | GSSName canonicalize(Oid mech) |
equals | equals(another) | boolean equals(GSSName another)boolean equals(Object another) |
export | export() | byte[] export() |
getStringNameType | getStringNameType() | Oid getStringNameType() |
hashCode | hashCode() | int hashCode() |
isAnonymous | isAnonymous() | boolean isAnonymous() |
isMN | isMN() | boolean isMN() |
MessageProp#
class · extends Object · org.ietf.jgss.MessageProp
Constructors
new MessageProp(boolean privState) |
new MessageProp(int qop, boolean privState) |
Ring: new MessageProp(args) uses the constructor with the fewest parameters (at least one); new MessageProp makes the object with the constructor without parameters; the others: (new MessageProp).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMinorStatus | getMinorStatus() | int getMinorStatus() |
getMinorString | getMinorString() | String getMinorString() |
getPrivacy | getPrivacy() | boolean getPrivacy() |
getQOP | getQOP() | int getQOP() |
isDuplicateToken | isDuplicateToken() | boolean isDuplicateToken() |
isGapToken | isGapToken() | boolean isGapToken() |
isOldToken | isOldToken() | boolean isOldToken() |
isUnseqToken | isUnseqToken() | boolean isUnseqToken() |
setPrivacy | setPrivacy(privState) | void setPrivacy(boolean privState) |
setQOP | setQOP(qop) | void setQOP(int qop) |
setSupplementaryStates | setSupplementaryStates(duplicate,old,unseq,gap,minorStatus,minorString) | void setSupplementaryStates(boolean duplicate, boolean old, boolean unseq, boolean gap, int minorStatus, String minorString) |
The methods and fields of Object are inherited.
Oid#
class · extends Object · org.ietf.jgss.Oid
Constructors
new Oid(byte[] data) |
new Oid(InputStream derOid) |
new Oid(String strOid) |
Ring: new Oid(args) uses the constructor with the fewest parameters (at least one); new Oid makes the object with the constructor without parameters; the others: (new Oid).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
containedIn | containedIn(oids) | boolean containedIn(Oid[] oids) |
getDER | getDER() | byte[] getDER() |
The methods and fields of Object are inherited.