| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.PAData |
Class Overview
Implements the ASN.1 PA-DATA type.
PA-DATA ::= SEQUENCE {
-- NOTE: first tag is [1], not [0]
padata-type [1] Int32,
padata-value [2] OCTET STRING -- might be encoded AP-REQ
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Constructors |
|
|
PAData(int new_pADataType, byte[] new_pADataValue)
|
|
|
PAData(DerValue encoding)
Constructs a PAData 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_PATYPE
Constant Value:
1
(0x00000001)
private
static
final
byte
TAG_PAVALUE
Constant Value:
2
(0x00000002)
Fields
private
byte[]
pADataValue
Public Constructors
public
PAData
(int new_pADataType, byte[] new_pADataValue)
Parameters
| new_pADataType
| |
| new_pADataValue
| |
public
PAData
(DerValue encoding)
Constructs a PAData 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[]
getValue
()