public class IdentityToken extends Parameter
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_ID_DDS_AUTH_X509_PEM_SHA256 |
Constructor and Description |
---|
IdentityToken(String pem)
Constructs IdentityToken.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassId()
Gets the class_id of IdentityToken
|
String |
getEncodedHash()
Gets the binary_value1 of IdentityToken.
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public static final String CLASS_ID_DDS_AUTH_X509_PEM_SHA256
public IdentityToken(String pem) throws NoSuchAlgorithmException
pem
- PEM encoded certificateNoSuchAlgorithmException
- id SHA-256 algorithm is not foundpublic String getClassId()
public String getEncodedHash()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
Copyright © 2016. All rights reserved.