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)
           
 Credential Kerberos.requestTicketGrantingTicket(EncryptionKey key, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, PaData[] padatas)
           
 Credential Kerberos.requestInitialTicket(EncryptionKey key, PrincipalName sName, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, PaData[] padatas)
           
 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)
           
 Credential Kerberos.requestServiceTicket(Credential cred, PrincipalName sName, String serverRealm, KDCOptions options, Date validFrom, Date validTill, Ticket addTicket, AuthorizationDataElement[] authData)
           
 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
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)
           
static KrbError Kerberos.createKrbError(int errorCode, String realm, PrincipalName sName)
           
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