public class EncApRepPart
extends java.lang.Object
Constructor and Description |
---|
EncApRepPart()
Default constructor
|
EncApRepPart(byte[] blob)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encodeApRep()
ASN.1 encode the encrypted AP-REP blob
|
int |
getSequenceNumber()
Return the sequence number
|
byte[] |
getSubKey()
Return the sub-key
|
int |
getSubKeyType()
Return the sub-key type
|
java.lang.String |
getTimestamp()
Return the timestamp
|
void |
parseApRep(byte[] apRep)
Parse the ASN/1 encoded AP-REP encrypted part
|
void |
setSubkey(int keyType,
byte[] subkey)
Set the sub-key and type
|
java.lang.String |
toString()
Return the AP-REP as a string
|
public EncApRepPart()
public EncApRepPart(byte[] blob) throws java.io.IOException
byte[]
- blobjava.io.IOException
public final java.lang.String getTimestamp()
public final int getSubKeyType()
public final byte[] getSubKey()
public final int getSequenceNumber()
public final void setSubkey(int keyType, byte[] subkey)
int
- keyTypebyte[]
- subkeypublic final void parseApRep(byte[] apRep) throws java.io.IOException
byte[]
- apRepjava.io.IOException
public final byte[] encodeApRep() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.