com.ibm.security.krb5

Class KrbCred

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.KrbCred

  1. public class KrbCred
  2. extends java.lang.Object
This class encapsulates the KRB-CRED message that a client uses to send its delegated credentials to a server. Supports delegation of one ticket only.

Constructor Summary

Constructor and Description
KrbCred(byte[] asn1Message,EncryptionKey key)
DOCUMENT ME!
KrbCred(Credentials tgt,Credentials serviceTicket,EncryptionKey key)
DOCUMENT ME!

Method Summary

Modifier and Type Method and Description
  1. Credentials[]
getDelegatedCreds()
Returns the delegated credentials from the peer.
  1. byte[]
getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

KrbCred

  1. public KrbCred(Credentials tgt,
  2. Credentials serviceTicket,
  3. EncryptionKey key)
  4. throws KrbException
  5. java.io.IOException
DOCUMENT ME!
Parameters:
tgt -
serviceTicket - DOCUMENT ME!
key - DOCUMENT ME!
Throws:
java.io.IOException

KrbCred

  1. public KrbCred(byte[] asn1Message,
  2. EncryptionKey key)
  3. throws KrbException
  4. java.io.IOException
DOCUMENT ME!
Parameters:
asn1Message -
key - DOCUMENT ME!
Throws:
java.io.IOException

Method Detail

getDelegatedCreds

  1. public Credentials[] getDelegatedCreds( )
Returns the delegated credentials from the peer.
Returns:
DOCUMENT ME!

getMessage

  1. public byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
Returns:
DOCUMENT ME!