sun.security.mule.krb5.internal
Class APRep

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

public class APRep
extends Object

Implements the ASN.1 AP-REP type.

AP-REP ::= [APPLICATION 15] SEQUENCE { pvno [0] INTEGER (5), msg-type [1] INTEGER (15), enc-part [2] EncryptedData -- EncAPRepPart }

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


Field Summary
 EncryptedData encPart
           
 int msgType
           
 int pvno
           
 
Constructor Summary
APRep(byte[] data)
           
APRep(sun.security.util.DerValue encoding)
           
APRep(EncryptedData new_encPart)
           
 
Method Summary
 byte[] asn1Encode()
          Encodes an APRep object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pvno

public int pvno

msgType

public int msgType

encPart

public EncryptedData encPart
Constructor Detail

APRep

public APRep(EncryptedData new_encPart)

APRep

public APRep(byte[] data)
      throws Asn1Exception,
             KrbApErrException,
             IOException
Throws:
Asn1Exception
KrbApErrException
IOException

APRep

public APRep(sun.security.util.DerValue encoding)
      throws Asn1Exception,
             KrbApErrException,
             IOException
Throws:
Asn1Exception
KrbApErrException
IOException
Method Detail

asn1Encode

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

Returns:
byte array of encoded APRep 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.