public class

APReq

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.APReq

Class Overview

Implements the ASN.1 AP-REQ type.

AP-REQ ::= [APPLICATION 14] SEQUENCE { pvno [0] INTEGER (5), msg-type [1] INTEGER (14), ap-options [2] APOptions, ticket [3] Ticket, authenticator [4] EncryptedData -- Authenticator }

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

Summary

Fields
public APOptions apOptions
public EncryptedData authenticator
public int msgType
public int pvno
public Ticket ticket
Public Constructors
APReq(APOptions new_apOptions, Ticket new_ticket, EncryptedData new_authenticator)
APReq(byte[] data)
APReq(DerValue encoding)
Public Methods
byte[] asn1Encode()
Encodes an APReq object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public APOptions apOptions

public EncryptedData authenticator

public int msgType

public int pvno

public Ticket ticket

Public Constructors

public APReq (APOptions new_apOptions, Ticket new_ticket, EncryptedData new_authenticator)

Parameters
new_apOptions
new_ticket
new_authenticator

public APReq (byte[] data)

Parameters
data

public APReq (DerValue encoding)

Parameters
encoding

Public Methods

public byte[] asn1Encode ()

Encodes an APReq object.

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