sun.security.mule.krb5.internal
Class ETypeInfo
java.lang.Object
sun.security.mule.krb5.internal.ETypeInfo
public class ETypeInfo
- extends Object
Implements the ASN.1 ETYPE-INFO-ENTRY type.
ETYPE-INFO-ENTRY ::= SEQUENCE {
etype [0] Int32,
salt [1] OCTET STRING OPTIONAL
}
- Author:
- Seema Malkani
|
Constructor Summary |
ETypeInfo(sun.security.util.DerValue encoding)
Constructs a ETypeInfo object. |
ETypeInfo(int etype,
byte[] salt)
|
ETypeInfo
public ETypeInfo(int etype,
byte[] salt)
ETypeInfo
public ETypeInfo(sun.security.util.DerValue encoding)
throws Asn1Exception,
IOException
- 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.
clone
public Object clone()
- Overrides:
clone in class Object
asn1Encode
public byte[] asn1Encode()
throws Asn1Exception,
IOException
- 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.
getEType
public int getEType()
getSalt
public byte[] getSalt()
Copyright © 2013. All Rights Reserved.