summaryrefslogtreecommitdiff
path: root/src/lib/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/screen.cc')
-rw-r--r--src/lib/screen.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/lib/screen.cc b/src/lib/screen.cc
index 632370810..c4bcb41c7 100644
--- a/src/lib/screen.cc
+++ b/src/lib/screen.cc
@@ -77,38 +77,6 @@ Screen::trusted_device_thumbprints () const
return t;
}
-TrustedDevice::TrustedDevice (string thumbprint)
- : _thumbprint (thumbprint)
-{
-
-}
-
-TrustedDevice::TrustedDevice (dcp::Certificate certificate)
- : _certificate (certificate)
-{
-
-}
-
-string
-TrustedDevice::as_string () const
-{
- if (_certificate) {
- return _certificate->certificate(true);
- }
-
- return *_thumbprint;
-}
-
-string
-TrustedDevice::thumbprint () const
-{
- if (_certificate) {
- return _certificate->thumbprint ();
- }
-
- return *_thumbprint;
-}
-
KDMWithMetadataPtr
kdm_for_screen (