sun.security.mule.krb5.internal
Class EncKrbCredPart

java.lang.Object
  extended by sun.security.mule.krb5.internal.EncKrbCredPart

public class EncKrbCredPart
extends Object

Implements the ASN.1 EncKrbCredPart type.

EncKrbCredPart ::= [APPLICATION 29] SEQUENCE { ticket-info [0] SEQUENCE OF KrbCredInfo, nonce [1] UInt32 OPTIONAL, timestamp [2] KerberosTime OPTIONAL, usec [3] Microseconds OPTIONAL, s-address [4] HostAddress OPTIONAL, r-address [5] HostAddress OPTIONAL }

This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.


Field Summary
 KrbCredInfo[] ticketInfo
           
 KerberosTime timeStamp
           
 
Constructor Summary
EncKrbCredPart(byte[] data, Config kerberosConfig)
           
EncKrbCredPart(sun.security.util.DerValue encoding, Config kerberoConfig)
           
EncKrbCredPart(KrbCredInfo[] new_ticketInfo, KerberosTime new_timeStamp, Integer new_usec, Integer new_nonce, HostAddress new_sAddress, HostAddresses new_rAddress, Config kerberosConfig)
           
 
Method Summary
 byte[] asn1Encode()
          Encodes an EncKrbCredPart object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ticketInfo

public KrbCredInfo[] ticketInfo

timeStamp

public KerberosTime timeStamp
Constructor Detail

EncKrbCredPart

public EncKrbCredPart(KrbCredInfo[] new_ticketInfo,
                      KerberosTime new_timeStamp,
                      Integer new_usec,
                      Integer new_nonce,
                      HostAddress new_sAddress,
                      HostAddresses new_rAddress,
                      Config kerberosConfig)
               throws IOException
Throws:
IOException

EncKrbCredPart

public EncKrbCredPart(byte[] data,
                      Config kerberosConfig)
               throws Asn1Exception,
                      IOException,
                      RealmException
Throws:
Asn1Exception
IOException
RealmException

EncKrbCredPart

public EncKrbCredPart(sun.security.util.DerValue encoding,
                      Config kerberoConfig)
               throws Asn1Exception,
                      IOException,
                      RealmException
Throws:
Asn1Exception
IOException
RealmException
Method Detail

asn1Encode

public byte[] asn1Encode()
                  throws Asn1Exception,
                         IOException
Encodes an EncKrbCredPart object.

Returns:
byte array of encoded EncKrbCredPart object.
Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
IOException - if an I/O error occurs while reading encoded data.


Copyright © 2013. All Rights Reserved.