Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.dstc.security.kerberos.KerberosException

Packages that use KerberosException
com.dstc.security.kerberos | This package defines the main Kerberos 5 interfaces and classes.
com.dstc.security.kerberos.msg | This package defines interfaces to Kerberos 5 messages.

Uses of KerberosException in com.dstc.security.kerberos

Subclasses of KerberosException in com.dstc.security.kerberos
`interface` | `CryptoException` An Exception for general crypto exceptions in Kerberos
`interface` | `DecryptionException` An exception indicating decryption failures
`interface` | `KerberosError` An Exception for an abnormal condition indicated by the receipt of a KrbError message from the KDC or a Kerberized application.
`interface` | `NotYetDecryptedException` An exception thrown when access is made to a field belonging to the encrypted part of a message before a successful decryption is performed.

Methods in com.dstc.security.kerberos that throw KerberosException
`byte[]` | `PrincipalName.getEncoded()` Returns the ASN.1 DER encoding for this PrincipalName
`KrbASReq` | `Kerberos.createKrbASReq(PrincipalName sName, KDCOptions options, InetAddress[] adds, Date validFrom, Date validTill, PaData[] padatas)` Creates and returns a KrbASReq in order to send to a KDC.
`KrbTGSReq` | `Kerberos.createKrbTGSReq(Credential cred, PrincipalName sName, String realm, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, Ticket addTicket, AuthorizationDataElement[] authData)` Creates and returns a KrbTGSReq in order to send to a KDC.
`Credential` | `Kerberos.processKrbASRep(KrbASRep rep, EncryptionKey key)` Processes (decrypts with the supplied EncryptionKey) a KrbASRep obtained from a KDC and returns a Credential.
`Credential` | `Kerberos.processKrbTGSRep(KrbTGSRep rep, EncryptionKey key)` Processes (decrypts with the supplied EncryptionKey) a KrbTGSRep obtained from a KDC and returns a Credential.
`Credential` | `Kerberos.requestTicketGrantingTicket(EncryptionKey key, KDCOptions options)` Requests from the KDC a TGT with supplied request options, together with an encryption key to decrypt the KDC response.
`Credential` | `Kerberos.requestTicketGrantingTicket(EncryptionKey key, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, PaData[] padatas)` Requests from the KDC a TGT with supplied request options, validity dates (may be null, in which case defaults apply), addresses for which the ticket is to be valid (may be null, in which case it's all the local addresses), pre-authentication data (may be null), together with an encryption key to decrypt the KDC response.
`Credential` | `Kerberos.requestInitialTicket(EncryptionKey key, PrincipalName sName, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, PaData[] padatas)` Requests from the KDC an initial ticket (may be TGT or service ticket) for the supplied target principal with supplied request options, validity dates (may be null, in which case defaults apply), addresses for which the ticket is to be valid (may be null, in which case it's all the local addresses), pre-authentication data (may be null), together with an encryption key to decrypt the KDC response.
`KrbASRep` | `Kerberos.getKrbASRepFromKDC(KrbASReq req, EncryptionKey key)` Sends the supplied KrbASReq to the configured KDC, processes the reply and returns it as a KrbASRep, if successful.
`Credential` | `Kerberos.requestServiceTicket(Credential cred, PrincipalName sName, String serverRealm, KDCOptions options)` Requests from the KDC a service ticket with a Credential (containing a suitable TGT) for a service with given name and realm, and given request options and, if successful, returns a Credential (containing the service ticket).
`Credential` | `Kerberos.requestServiceTicket(Credential cred, PrincipalName sName, String serverRealm, KDCOptions options, Date validFrom, Date validTill, Ticket addTicket, AuthorizationDataElement[] authData)` Requests from the KDC a service ticket with a Credential (containing a suitable TGT) for a service with given name and realm, given request options, validity dates (may be null, in which case defaults apply), additional tickets (may be null) and authorization data (may be null) and, if successful, returns a Credential (containing the service ticket).
`KrbTGSRep` | `Kerberos.getKrbTGSRepFromKDC(KrbTGSReq req)` Sends the supplied KrbTGSReq to the configured KDC, processes the reply and returns it as a KrbTGSRep, if successful.
`static APReq` | `Kerberos.createApplicationRequest(Credential cred, APOptions apOpts, int seqNum, Checksum cksum, EncryptionKey subKey)` Creates and returns an APReq to hand over to a Kerberized application, using a supplied Credential and request options.
`static APReq` | `Kerberos.decryptApplicationRequest(EncryptionKey key, APReq apReq)` Decrypts a supplied APReq with a given Kerberos encryption key and returns a decrypted APReq.
`static APRep` | `Kerberos.createApplicationResponse(EncryptionKey key, Date cTime, int cusec, int seqNum, EncryptionKey subKey)` Creates and returns an APRep in response to a successful application request with a given Kerberos encryption key.
`static APRep` | `Kerberos.decryptApplicationResponse(EncryptionKey key, APRep apRep)` Decrypts a supplied APRep with a given Kerberos encryption key and returns a decrypted APRep
`static Ticket` | `Kerberos.decryptTicket(EncryptionKey key, Ticket ticket)` Decrypts a supplied Ticket with a given Kerberos encryption key and returns a decrypted Ticket
`static KrbCred` | `Kerberos.createKrbCred(EncryptionKey key, Credential[] creds)` Creates a KrbCred message with an EncryptionKey and a list of Credentials to forward.
`static KrbCred` | `Kerberos.decryptKrbCred(EncryptionKey key, KrbCred cred)` Decrypts a supplied KrbCred with a given Kerberos encryption key and returns a decrypted KrbCred
`static KrbError` | `Kerberos.createKrbError(int errorCode, String server)` Creates a KrbError message with an error code, and the server name.
`static KrbError` | `Kerberos.createKrbError(int errorCode, String realm, PrincipalName sName)` Creates a KrbError message with an error code, and the realm and server principal name
`static KerberosMessage` | `Kerberos.getMessage(byte[] encoded)` Returns a KerberosMessage from its ASN.1 DER encoding.
`static KerberosKey` | `KerberosKey.getInstance(int keyType, byte[] bytes)` Returns a KerberosKey for a given encryption type and key value
`static KerberosKey` | `KerberosKey.getInstance(int keyType, byte[] passString, byte[] mixInString)` Returns a KerberosKey for a given encryption type, a password and a mix-in string
`void` | `KerberosKey.updateMixInString(byte[] mixInString)` Replaces the current mix-in string with a new one
`protected abstract byte[]` | `KerberosKey.stringToKey(byte[] passString, byte[] mixInString)` Transforms the supplied password and mix-in string to a key value in an algorithm-specific manner.
`byte[]` | `Ticket.getEncoded()` Returns the ASN.1 DER encoding for this Ticket

Constructors in com.dstc.security.kerberos that throw KerberosException
`PrincipalName.PrincipalName(byte[] encoded)` Constructs a PrincipalName from its ASN.1 DER encoding
`PaEncTimestamp.PaEncTimestamp(EncryptionKey key, SecureRandom rand)` Constructs a PaEncTimestamp for the user requesting initial Kerberos authentication with his/her Kerberos encryption key and a SecureRandom instance
`KerberosKey.KerberosKey(int keyType, byte[] passString, byte[] mixInString)` Constructs a KerberosKey from a key type, a password and a mix-in string

Uses of KerberosException in com.dstc.security.kerberos.msg

Methods in com.dstc.security.kerberos.msg that throw KerberosException
`void` | `EncryptedPart.initDecrypt(EncryptionKey key)` Initializes the decryption process with an EncryptionKey
`void` | `EncryptedPart.decrypt()` Decrypts this EncryptedPart
`byte[]` | `KerberosMessage.getEncoded()` Returns the ASN.1 DER encoding for this message

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES