public class EncApRepPart extends 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
|
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
|
String |
toString()
Return the AP-REP as a string
|
public EncApRepPart()
public EncApRepPart(byte[] blob) throws IOException
blob
- byte[]IOException
public final String getTimestamp()
public final int getSubKeyType()
public final byte[] getSubKey()
public final int getSequenceNumber()
public final void setSubkey(int keyType, byte[] subkey)
keyType
- intsubkey
- byte[]public final void parseApRep(byte[] apRep) throws IOException
apRep
- byte[]IOException
public final byte[] encodeApRep() throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.