public class PermissionsToken extends Parameter
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_ID_DDS_ACCESS_PKI_SIGNED_XML_PERMISSIONS |
static String |
CLASS_ID_JRTPS_XML_PERMISSIONS |
Constructor and Description |
---|
PermissionsToken(InputStream xml)
Constructs new PermissionsToken by reading the xml file from given InputStream
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinaryValue1()
Gets the binary_value1
|
String |
getClassId() |
String |
getEncodedHash()
Gets the binary_value1 of this token.
|
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_ACCESS_PKI_SIGNED_XML_PERMISSIONS
public static final String CLASS_ID_JRTPS_XML_PERMISSIONS
public PermissionsToken(InputStream xml) throws IOException, NoSuchAlgorithmException
xml
- InputStream to permissions documentIOException
- on IOExceptionNoSuchAlgorithmException
- on NoSuchAlgorithmExceptionpublic String getClassId()
public byte[] getBinaryValue1()
public String getEncodedHash()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
Copyright © 2016. All rights reserved.