RingJavafor Ring

org.ietf.jgss

8 classes of the module java.security.jgss.

Load them with:

using {
	"org.ietf.jgss"
}

All packages

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

MethodRing callJava overloads
getAcceptorAddressgetAcceptorAddress()InetAddress getAcceptorAddress()
getApplicationDatagetApplicationData()byte[] getApplicationData()
getInitiatorAddressgetInitiatorAddress()InetAddress getInitiatorAddress()

The methods and fields of Object are inherited.

GSSContext#

interface · org.ietf.jgss.GSSContext

Fields

NameTypeAccessIn Ring
DEFAULT_LIFETIMEintconstant · statico.DEFAULT_LIFETIME
INDEFINITE_LIFETIMEintconstant · statico.INDEFINITE_LIFETIME

Methods

MethodRing callJava overloads
acceptSecContextacceptSecContext([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)
disposedispose()void dispose()
exportexport()byte[] export()
getAnonymityStategetAnonymityState()boolean getAnonymityState()
getConfStategetConfState()boolean getConfState()
getCredDelegStategetCredDelegState()boolean getCredDelegState()
getDelegCredgetDelegCred()GSSCredential getDelegCred()
getIntegStategetIntegState()boolean getIntegState()
getLifetimegetLifetime()int getLifetime()
getMechgetMech()Oid getMech()
getMICgetMIC([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)
getMutualAuthStategetMutualAuthState()boolean getMutualAuthState()
getReplayDetStategetReplayDetState()boolean getReplayDetState()
getSequenceDetStategetSequenceDetState()boolean getSequenceDetState()
getSrcNamegetSrcName()GSSName getSrcName()
getTargNamegetTargName()GSSName getTargName()
getWrapSizeLimitgetWrapSizeLimit(qop,confReq,maxTokenSize)int getWrapSizeLimit(int qop, boolean confReq, int maxTokenSize)
initSecContextinitSecContext([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)
isEstablishedisEstablished()boolean isEstablished()
isInitiatorisInitiator()boolean isInitiator()
isProtReadyisProtReady()boolean isProtReady()
isTransferableisTransferable()boolean isTransferable()
requestAnonymityrequestAnonymity(state)void requestAnonymity(boolean state)
requestConfrequestConf(state)void requestConf(boolean state)
requestCredDelegrequestCredDeleg(state)void requestCredDeleg(boolean state)
requestIntegrequestInteg(state)void requestInteg(boolean state)
requestLifetimerequestLifetime(lifetime)void requestLifetime(int lifetime)
requestMutualAuthrequestMutualAuth(state)void requestMutualAuth(boolean state)
requestReplayDetrequestReplayDet(state)void requestReplayDet(boolean state)
requestSequenceDetrequestSequenceDet(state)void requestSequenceDet(boolean state)
setChannelBindingsetChannelBinding(cb)void setChannelBinding(ChannelBinding cb)
unwrapunwrap([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)
verifyMICverifyMIC([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)
wrapwrap([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

NameTypeAccessIn Ring
INITIATE_AND_ACCEPTintconstant · statico.INITIATE_AND_ACCEPT
INITIATE_ONLYintconstant · statico.INITIATE_ONLY
ACCEPT_ONLYintconstant · statico.ACCEPT_ONLY
DEFAULT_LIFETIMEintconstant · statico.DEFAULT_LIFETIME
INDEFINITE_LIFETIMEintconstant · statico.INDEFINITE_LIFETIME

Methods

MethodRing callJava overloads
@getName@getName(mech)GSSName getName(Oid mech)
@getUsage@getUsage(mech)int getUsage(Oid mech)
addadd(name,initLifetime,acceptLifetime,mech,usage)void add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage)
disposedispose()void dispose()
equalsequals(another)boolean equals(Object another)
getMechsgetMechs()Oid[] getMechs()
getNamegetName()GSSName getName()
getRemainingAcceptLifetimegetRemainingAcceptLifetime(mech)int getRemainingAcceptLifetime(Oid mech)
getRemainingInitLifetimegetRemainingInitLifetime(mech)int getRemainingInitLifetime(Oid mech)
getRemainingLifetimegetRemainingLifetime()int getRemainingLifetime()
getUsagegetUsage()int getUsage()
hashCodehashCode()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

NameTypeAccessIn Ring
BAD_BINDINGSintconstant · statico.BAD_BINDINGS
BAD_MECHintconstant · statico.BAD_MECH
BAD_NAMEintconstant · statico.BAD_NAME
BAD_NAMETYPEintconstant · statico.BAD_NAMETYPE
BAD_STATUSintconstant · statico.BAD_STATUS
BAD_MICintconstant · statico.BAD_MIC
CONTEXT_EXPIREDintconstant · statico.CONTEXT_EXPIRED
CREDENTIALS_EXPIREDintconstant · statico.CREDENTIALS_EXPIRED
DEFECTIVE_CREDENTIALintconstant · statico.DEFECTIVE_CREDENTIAL
DEFECTIVE_TOKENintconstant · statico.DEFECTIVE_TOKEN
FAILUREintconstant · statico.FAILURE
NO_CONTEXTintconstant · statico.NO_CONTEXT
NO_CREDintconstant · statico.NO_CRED
BAD_QOPintconstant · statico.BAD_QOP
UNAUTHORIZEDintconstant · statico.UNAUTHORIZED
UNAVAILABLEintconstant · statico.UNAVAILABLE
DUPLICATE_ELEMENTintconstant · statico.DUPLICATE_ELEMENT
NAME_NOT_MNintconstant · statico.NAME_NOT_MN
DUPLICATE_TOKENintconstant · statico.DUPLICATE_TOKEN
OLD_TOKENintconstant · statico.OLD_TOKEN
UNSEQ_TOKENintconstant · statico.UNSEQ_TOKEN
GAP_TOKENintconstant · statico.GAP_TOKEN

Methods

MethodRing callJava overloads
getMajorgetMajor()int getMajor()
getMajorStringgetMajorString()String getMajorString()
getMinorgetMinor()int getMinor()
getMinorStringgetMinorString()String getMinorString()
setMinorsetMinor(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

MethodRing callJava overloads
addProviderAtEndaddProviderAtEnd(p,mech)void addProviderAtEnd(Provider p, Oid mech)
addProviderAtFrontaddProviderAtFront(p,mech)void addProviderAtFront(Provider p, Oid mech)
createContextcreateContext(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)
createCredentialcreateCredential(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)
createNamecreateName([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)
getInstancegetInstance()static GSSManager getInstance()
getMechsgetMechs()Oid[] getMechs()
getMechsForNamegetMechsForName(nameType)Oid[] getMechsForName(Oid nameType)
getNamesForMechgetNamesForMech(mech)Oid[] getNamesForMech(Oid mech)

The methods and fields of Object are inherited.

GSSName#

interface · org.ietf.jgss.GSSName

Fields

NameTypeAccessIn Ring
NT_HOSTBASED_SERVICEOidconstant · statico.NT_HOSTBASED_SERVICE
NT_USER_NAMEOidconstant · statico.NT_USER_NAME
NT_MACHINE_UID_NAMEOidconstant · statico.NT_MACHINE_UID_NAME
NT_STRING_UID_NAMEOidconstant · statico.NT_STRING_UID_NAME
NT_ANONYMOUSOidconstant · statico.NT_ANONYMOUS
NT_EXPORT_NAMEOidconstant · statico.NT_EXPORT_NAME

Methods

MethodRing callJava overloads
canonicalizecanonicalize(mech)GSSName canonicalize(Oid mech)
equalsequals(another)boolean equals(GSSName another)
boolean equals(Object another)
exportexport()byte[] export()
getStringNameTypegetStringNameType()Oid getStringNameType()
hashCodehashCode()int hashCode()
isAnonymousisAnonymous()boolean isAnonymous()
isMNisMN()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

MethodRing callJava overloads
getMinorStatusgetMinorStatus()int getMinorStatus()
getMinorStringgetMinorString()String getMinorString()
getPrivacygetPrivacy()boolean getPrivacy()
getQOPgetQOP()int getQOP()
isDuplicateTokenisDuplicateToken()boolean isDuplicateToken()
isGapTokenisGapToken()boolean isGapToken()
isOldTokenisOldToken()boolean isOldToken()
isUnseqTokenisUnseqToken()boolean isUnseqToken()
setPrivacysetPrivacy(privState)void setPrivacy(boolean privState)
setQOPsetQOP(qop)void setQOP(int qop)
setSupplementaryStatessetSupplementaryStates(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

MethodRing callJava overloads
containedIncontainedIn(oids)boolean containedIn(Oid[] oids)
getDERgetDER()byte[] getDER()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.