org.jclouds.digitalocean.predicates
Class SameFingerprint
java.lang.Object
org.jclouds.digitalocean.predicates.SameFingerprint
- All Implemented Interfaces:
- com.google.common.base.Predicate<SshKey>
public class SameFingerprint
- extends Object
- implements com.google.common.base.Predicate<SshKey>
Predicate to compare SSH keys by fingerprint.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
fingerprint
public final String fingerprint
SameFingerprint
public SameFingerprint(PublicKey key)
apply
public boolean apply(SshKey key)
- Specified by:
apply in interface com.google.common.base.Predicate<SshKey>
computeFingerprint
public static String computeFingerprint(PublicKey key)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.