public class

ETypeInfo

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

Class Overview

Implements the ASN.1 ETYPE-INFO-ENTRY type. ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }

Summary

Constants
byte TAG_TYPE
byte TAG_VALUE
Fields
private int etype
private byte[] salt
Public Constructors
ETypeInfo(int etype, byte[] salt)
ETypeInfo(DerValue encoding)
Constructs a ETypeInfo object.
Public Methods
byte[] asn1Encode()
Encodes this object to an OutputStream.
Object clone()
int getEType()
byte[] getSalt()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final byte TAG_TYPE

Constant Value: 0 (0x00000000)

private static final byte TAG_VALUE

Constant Value: 1 (0x00000001)

Fields

private int etype

private byte[] salt

Public Constructors

public ETypeInfo (int etype, byte[] salt)

Parameters
etype
salt

public ETypeInfo (DerValue encoding)

Constructs a ETypeInfo object.

Parameters
encoding A DER-encoded data.
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.

Public Methods

public byte[] asn1Encode ()

Encodes this object to an OutputStream.

Returns
  • byte array of the encoded data.
Throws
IOException if an I/O error occurs while reading encoded data.
Asn1Exception on encoding errors.

public Object clone ()

public int getEType ()

public byte[] getSalt ()