The fingerprint of a receiver's key (FCast v4, docs/tech.md, "FCast v4"): SHA-256 of the DER SubjectPublicKeyInfo of its self-signed certificate, written as standard base64 in the fp of the mDNS record and of an fcast://r/ link.
More...
|
| enum | Source |
| | Where the fingerprint came from; the link is the stronger source (a channel the network can not change). More...
|
| |
|
|
boolean | matches (X509Certificate certificate) |
| | True if the certificate's key has this pin's hash (constant time).
|
| |
|
FCastPin | withSource (Source other) |
| | The same key with another source.
|
| |
|
Source | getSource () |
| |
|
String | toBase64 () |
| | The fp text.
|
| |
|
boolean | equals (Object other) |
| |
|
int | hashCode () |
| |
|
String | toString () |
| |
|
| static FCastPin | parse (String base64, Source source) |
| |
|
static FCastPin | of (byte[] sha256, Source source) |
| |
|
static FCastPin | of (X509Certificate certificate, Source source) |
| | The pin of a certificate (what the receiver would announce); used by tests and by the sheet to show what was seen.
|
| |
|
|
static final int | LENGTH = 32 |
| | Bytes of a SHA-256 digest.
|
| |
The fingerprint of a receiver's key (FCast v4, docs/tech.md, "FCast v4"): SHA-256 of the DER SubjectPublicKeyInfo of its self-signed certificate, written as standard base64 in the fp of the mDNS record and of an fcast://r/ link.
Immutable. The connection to a receiver that has a pin is trusted only if the certificate's key has exactly this hash.
◆ parse()
| static FCastPin de.yaacc.fcast.protocol.FCastPin.parse |
( |
String | base64, |
|
|
Source | source ) |
|
static |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/fcast/protocol/FCastPin.java