Class CloudPublicKey<K extends CloudKeyInfo,T extends PublicKey>
- java.lang.Object
-
- com.antonzhdanov.apache.sshd.agent.cloud.key.CloudPublicKey<K,T>
-
- All Implemented Interfaces:
Serializable,Key,PublicKey
- Direct Known Subclasses:
EcCloudPublicKey,RsaCloudPublicKey
public abstract class CloudPublicKey<K extends CloudKeyInfo,T extends PublicKey> extends Object implements PublicKey
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface java.security.PublicKey
serialVersionUID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCloudPublicKey(T publicKey, K cloudKeyInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()KgetCloudKeyInfo()byte[]getEncoded()StringgetFormat()protected TgetPublicKey()
-
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getPublicKey
protected T getPublicKey()
-
getCloudKeyInfo
public K getCloudKeyInfo()
-
-