Class SkEcdsaPublicKey
java.lang.Object
org.apache.sshd.common.config.keys.u2f.SkEcdsaPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey,SshPublicKey,SecurityKeyPublicKey<ECPublicKey>
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSkEcdsaPublicKey(String appName, boolean noTouchRequired, boolean verifyRequired, ECPublicKey delegatePublicKey) SkEcdsaPublicKey(String appName, boolean noTouchRequired, ECPublicKey delegatePublicKey) Deprecated. -
Method Summary
-
Field Details
-
ALGORITHM
- See Also:
-
-
Constructor Details
-
SkEcdsaPublicKey
@Deprecated public SkEcdsaPublicKey(String appName, boolean noTouchRequired, ECPublicKey delegatePublicKey) Deprecated.Creates a new instance.- Parameters:
appName- application namenoTouchRequired- whether the "no-touch-required" flag was present in authorized_keysdelegatePublicKey- the underlying real public key
-
SkEcdsaPublicKey
public SkEcdsaPublicKey(String appName, boolean noTouchRequired, boolean verifyRequired, ECPublicKey delegatePublicKey)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getKeyType
Description copied from interface:SshPublicKeyRetrieves the SSH key type.- Specified by:
getKeyTypein interfaceSshPublicKey- Returns:
- the SSH key type, never
null.
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getAppName
- Specified by:
getAppNamein interfaceSecurityKeyPublicKey<ECPublicKey>
-
isNoTouchRequired
public boolean isNoTouchRequired()- Specified by:
isNoTouchRequiredin interfaceSecurityKeyPublicKey<ECPublicKey>
-
isVerifyRequired
public boolean isVerifyRequired()- Specified by:
isVerifyRequiredin interfaceSecurityKeyPublicKey<ECPublicKey>
-
getDelegatePublicKey
- Specified by:
getDelegatePublicKeyin interfaceSecurityKeyPublicKey<ECPublicKey>
-
toString
-
hashCode
public int hashCode() -
equals
-
SkEcdsaPublicKey(String, boolean, boolean, ECPublicKey)instead