|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkrb5.app.lib.KrbApReq
public class KrbApReq
Class Description : KrbApReq reconstructs the received KRB_AP_REQ message and then authenticates it.
| Constructor Summary | |
|---|---|
KrbApReq(byte[] msg)
Class constructor |
|
| Method Summary | |
|---|---|
void |
authenticate(EncryptionKey key)
Authenticates with the specified key |
void |
authenticate(EncryptionKey key,
HostAddress sender)
Authenticates with the specified key for a given sender |
KrbCreds |
creds()
Returns Krbcreds |
KerberosTime |
ctime()
Returns the time |
APOptions |
getAPOptions()
Returns application options |
java.lang.Integer |
getSeqNumber()
Returns sequence number |
EncryptionKey |
getSubKey()
Returns subject key |
boolean |
mutualAuthenticationRequired()
Determines whether mutual authentication is required |
boolean |
useSessionKey()
Determines whether session key is used |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KrbApReq(byte[] msg)
throws KrbException,
java.io.IOException,
java.lang.ClassNotFoundException
msg - byte[]
KrbException
java.io.IOException
java.lang.ClassNotFoundException| Method Detail |
|---|
public void authenticate(EncryptionKey key)
throws KrbException
key - is of type EncryptionKey
KrbException - an exceptionEncryptionKey,
KrbException
public void authenticate(EncryptionKey key,
HostAddress sender)
throws KrbException
key - is of type EncryptionKeysender - is of type HostAddress
KrbException - an exceptionEncryptionKey,
HostAddress,
KrbExceptionpublic KrbCreds creds()
KrbCredspublic KerberosTime ctime()
KerberosTime
public APOptions getAPOptions()
throws KrbException
KrbException - an exceptionAPOptions,
KrbException
public boolean mutualAuthenticationRequired()
throws KrbException
KrbException - an exceptionKrbException
public boolean useSessionKey()
throws KrbException
KrbException - an exceptionKrbExceptionpublic EncryptionKey getSubKey()
EncryptionKeypublic java.lang.Integer getSeqNumber()
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||