com.ibm.security.krb5.internal
Class KDCReqBody
- java.lang.Object
com.ibm.security.krb5.internal.KDCReqBody
- public class KDCReqBody
- extends java.lang.Object
This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.
Constructor Summary
Constructor and Description |
---|
KDCReqBody(com.ibm.security.util.DerValue encoding,int msgType)
Constructs a KDCReqBody object.
|
KDCReqBody(KDCOptions new_kdcOptions,PrincipalName new_cname,Realm new_crealm,PrincipalName new_sname,KerberosTime new_from,KerberosTime new_till,KerberosTime new_rtime,int new_nonce,int[] new_eType,HostAddresses new_addresses,EncryptedData new_encAuthorizationData,Ticket[] new_additionalTickets)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode(int msgType)
Encodes this object to an OutputStream.
|
|
getAdditionalTickets()
|
getAddresses()
Get the addresses.
|
|
getClient()
Get the Kerberos client name.
|
|
getEncryptedAuthzData()
|
|
getEndTime()
Get the end time.
|
|
|
getEtypes()
Get the E-types.
|
|
getNonce()
Get the Kerberos nonce.
|
getOptions()
Get the KDC options.
|
|
getRealm()
Get the Kerberos client realm.
|
|
getRenewableTillTime()
Get the renewable till time.
|
|
getServer()
Get the Kerberos server name.
|
|
getStartTime()
Get the start time.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
KDCReqBody
- public KDCReqBody(KDCOptions new_kdcOptions,
- PrincipalName new_cname,
- Realm new_crealm,
- PrincipalName new_sname,
- KerberosTime new_from,
- KerberosTime new_till,
- KerberosTime new_rtime,
- int new_nonce,
- int[] new_eType,
- HostAddresses new_addresses,
- EncryptedData new_encAuthorizationData,
- Ticket[] new_additionalTickets)
- throws java.io.IOException
Throws:
java.io.IOException
KDCReqBody
- public KDCReqBody(com.ibm.security.util.DerValue encoding,
- int msgType)
- throws Asn1Exception
- RealmException
- KrbException
- java.io.IOException
Constructs a KDCReqBody object.
Parameters:
encoding
- a DER-encoded data. msgType
- an int indicating whether it's KRB_AS_REQ or KRB_TGS_REQ type. Throws:
Asn1Exception
- if an error occurs while decoding an ASN1 encoded data. java.io.IOException
- if an I/O error occurs while reading encoded data. RealmException
- if an error occurs while constructing a Realm object from the encoded data. Method Detail
asn1Encode
- public byte[] asn1Encode(int msgType)
- throws Asn1Exception
- java.io.IOException
Encodes this object to an OutputStream.
Returns:
an byte array of encoded data.
Throws:
Asn1Exception
- if an error occurs while decoding an ASN1 encoded data. java.io.IOException
- if an I/O error occurs while reading encoded data. getAdditionalTickets
- public Ticket[] getAdditionalTickets( )
getEncryptedAuthzData
- public EncryptedData getEncryptedAuthzData( )
getClient
- public PrincipalName getClient( )
Get the Kerberos client name.
Returns:
the Kerberos client name.
getServer
- public PrincipalName getServer( )
Get the Kerberos server name.
Returns:
the Kerberos server name.
getRealm
- public Realm getRealm()
Get the Kerberos client realm.
Returns:
the Kerberos realm.
getNonce
- public int getNonce()
Get the Kerberos nonce.
Returns:
the Kerberos nonce.
getOptions
- public KDCOptions getOptions()
Get the KDC options.
Returns:
the KDC options.
getStartTime
- public KerberosTime getStartTime( )
Get the start time.
Returns:
the start time.
getEndTime
- public KerberosTime getEndTime( )
Get the end time.
Returns:
the end time.
getRenewableTillTime
- public KerberosTime getRenewableTillTime( )
Get the renewable till time.
Returns:
the renewable till time.
getEtypes
- public int[] getEtypes()
Get the E-types.
Returns:
the E-types.
getAddresses
- public HostAddresses getAddresses( )
Get the addresses.
Returns:
the addresses.