public class FingerprintAttribute extends AttributeField
Example:
a=fingerprint:sha-256 D1:2C:BE:AD:C4:F6:64:5C:25:16:11:9C:AF:E7:0F:73:79:36:
4E:9C:1E:15:54:39:0C:06:8B:ED:96:86:00:39
The fingerprint is the result of a hash function of the certificates used in the DTLS-SRTP negotiation. This line creates a binding between the signaling (which is supposed to be trusted) and the certificates used in DTLS, if the fingerprint doesn’t match, then the session should be rejected.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_TYPE |
ATTRIBUTE_SEPARATOR, BEGIN, BEGIN_LENGTH, builder, FIELD_TYPE, key, valueFIELD_SEPARATOR| Constructor and Description |
|---|
FingerprintAttribute() |
FingerprintAttribute(String hashFunction,
String fingerprint) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFingerprint() |
String |
getHashFunction() |
void |
setFingerprint(String fingerprint) |
void |
setHashFunction(String hashFunction) |
String |
toString() |
getFieldType, getKey, getValuepublic static final String ATTRIBUTE_TYPE
public String getHashFunction()
public void setHashFunction(String hashFunction)
public String getFingerprint()
public void setFingerprint(String fingerprint)
public String toString()
toString in class AttributeFieldCopyright © 2017 TeleStax, Inc.. All Rights Reserved.