Package org.bouncycastle.tls
Class PskIdentity
java.lang.Object
org.bouncycastle.tls.PskIdentity
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream output) boolean
int
byte[]
long
int
hashCode()
static PskIdentity
parse
(InputStream input)
-
Field Details
-
identity
protected byte[] identity -
obfuscatedTicketAge
protected long obfuscatedTicketAge
-
-
Constructor Details
-
PskIdentity
public PskIdentity(byte[] identity, long obfuscatedTicketAge)
-
-
Method Details
-
getEncodedLength
public int getEncodedLength() -
getIdentity
public byte[] getIdentity() -
getObfuscatedTicketAge
public long getObfuscatedTicketAge() -
encode
- Throws:
IOException
-
parse
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-