|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to the Kerberos Ticket Granting Service response message.
This message is returned by a Ticket Granting Service to a user requesting a service ticket for subsequent authentication to a Kerberized service.
Defined in RFC 1510 by the ASN.1 structure TGS-REP
TGS-REP ::= [APPLICATION 13] KDC-REP KDC-REP ::= SEQUENCE { pvno[0] INTEGER, msg-type[1] INTEGER, padata[2] SEQUENCE OF PA-DATA OPTIONAL, crealm[3] Realm, cname[4] PrincipalName, ticket[5] Ticket, enc-part[6] EncryptedData } -- unencrypted enc-part EncTGSRepPart ::= [APPLICATION 26] EncKDCRepPart EncKDCRepPart ::= SEQUENCE { key[0] EncryptionKey, last-req[1] LastReq, nonce[2] INTEGER, key-expiration[3] Date OPTIONAL, flags[4] TicketFlags, authtime[5] Date, starttime[6] Date OPTIONAL, endtime[7] Date, renew-till[8] Date OPTIONAL, srealm[9] Realm, sname[10] PrincipalName, caddr[11] HostAddresses OPTIONAL }
Method Summary | |
Date |
getAuthTime()
Returns the authentication time in this response |
InetAddress[] |
getClientAddresses()
Returns all the addresses in this response |
PrincipalName |
getClientName()
Returns the client name in this response |
String |
getClientRealm()
Returns the client realm in this response |
Date |
getEndTime()
Returns the end time for this response |
Date |
getKeyExpiration()
Returns the key expiration time in this response, or null if absent |
LastReqElement[] |
getLastRequest()
Returns all the LastReqElement in this response |
int |
getNonce()
Returns the nonce in this response |
PaData[] |
getPadatas()
Returns all the PaDatas in this response |
Date |
getRenewTill()
Returns the absolute last renewal time in this response, or null if absent |
PrincipalName |
getServerName()
Returns the server name in this response |
String |
getServerRealm()
Returns the server realm in this response |
EncryptionKey |
getSessionKey()
Returns the session key in this response, or null if absent |
Date |
getStartTime()
Returns the start time in this response, or null if absent in which case the authentication time is the effective start time. |
Ticket |
getTicket()
Returns the ticket in this response |
TicketFlags |
getTicketFlags()
Returns the TicketFlags in this response |
Methods inherited from interface com.dstc.security.kerberos.msg.EncryptedPart |
decrypt,
encryptionType,
initDecrypt |
Methods inherited from interface com.dstc.security.kerberos.msg.KerberosMessage |
getEncoded |
Method Detail |
public PaData[] getPadatas()
public String getClientRealm()
public PrincipalName getClientName()
public Ticket getTicket()
public LastReqElement[] getLastRequest() throws NotYetDecryptedException
public Date getKeyExpiration() throws NotYetDecryptedException
public EncryptionKey getSessionKey() throws NotYetDecryptedException
public int getNonce() throws NotYetDecryptedException
public TicketFlags getTicketFlags() throws NotYetDecryptedException
public Date getAuthTime() throws NotYetDecryptedException
public Date getStartTime() throws NotYetDecryptedException
public Date getEndTime() throws NotYetDecryptedException
public Date getRenewTill() throws NotYetDecryptedException
public String getServerRealm() throws NotYetDecryptedException
public PrincipalName getServerName() throws NotYetDecryptedException
public InetAddress[] getClientAddresses() throws NotYetDecryptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |