sun.security.mule.krb5.internal
Class EncAPRepPart

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

public class EncAPRepPart
extends Object

Implements the ASN.1 EncAPRepPart type.

EncAPRepPart ::= [APPLICATION 27] SEQUENCE { ctime [0] KerberosTime, cusec [1] Microseconds, subkey [2] EncryptionKey OPTIONAL, seq-number [3] UInt32 OPTIONAL }

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


Field Summary
 KerberosTime ctime
           
 int cusec
           
 
Constructor Summary
EncAPRepPart(byte[] data, Config kerberosConfig)
           
EncAPRepPart(sun.security.util.DerValue encoding, Config kerberosConfig)
           
EncAPRepPart(KerberosTime new_ctime, int new_cusec, EncryptionKey new_subKey, Integer new_seqNumber, Config kerberosConfig)
           
 
Method Summary
 byte[] asn1Encode()
          Encodes an EncAPRepPart object.
 Integer getSeqNumber()
           
 EncryptionKey getSubKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctime

public KerberosTime ctime

cusec

public int cusec
Constructor Detail

EncAPRepPart

public EncAPRepPart(KerberosTime new_ctime,
                    int new_cusec,
                    EncryptionKey new_subKey,
                    Integer new_seqNumber,
                    Config kerberosConfig)

EncAPRepPart

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

EncAPRepPart

public EncAPRepPart(sun.security.util.DerValue encoding,
                    Config kerberosConfig)
             throws Asn1Exception,
                    IOException
Throws:
Asn1Exception
IOException
Method Detail

asn1Encode

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

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

getSubKey

public final EncryptionKey getSubKey()

getSeqNumber

public final Integer getSeqNumber()


Copyright © 2013. All Rights Reserved.