| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.ETypeInfo2 |
Class Overview
Implements the ASN.1 ETYPE-INFO-ENTRY type.
ETYPE-INFO2-ENTRY ::= SEQUENCE {
etype [0] Int32,
salt [1] KerberosString OPTIONAL,
s2kparams [2] OCTET STRING OPTIONAL
}
Summary
| Public Constructors |
|
|
ETypeInfo2(int etype, byte[] salt, byte[] s2kparams)
|
|
|
ETypeInfo2(DerValue encoding)
Constructs a ETypeInfo2 object.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
byte
TAG_TYPE
Constant Value:
0
(0x00000000)
private
static
final
byte
TAG_VALUE1
Constant Value:
1
(0x00000001)
private
static
final
byte
TAG_VALUE2
Constant Value:
2
(0x00000002)
Fields
Public Constructors
public
ETypeInfo2
(int etype, byte[] salt, byte[] s2kparams)
public
ETypeInfo2
(DerValue encoding)
Constructs a ETypeInfo2 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
byte[]
getParams
()