Package org.apache.sshd.common.u2f
Class SkEcdsaPublicKey
- java.lang.Object
-
- org.apache.sshd.common.u2f.SkEcdsaPublicKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PublicKey
,SecurityKeyPublicKey<java.security.interfaces.ECPublicKey>
public class SkEcdsaPublicKey extends java.lang.Object implements SecurityKeyPublicKey<java.security.interfaces.ECPublicKey>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALGORITHM
private java.lang.String
appName
private java.security.interfaces.ECPublicKey
delegatePublicKey
private boolean
noTouchRequired
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SkEcdsaPublicKey(java.lang.String appName, boolean noTouchRequired, java.security.interfaces.ECPublicKey delegatePublicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
java.lang.String
getAppName()
java.security.interfaces.ECPublicKey
getDelegatePublicKey()
byte[]
getEncoded()
java.lang.String
getFormat()
boolean
isNoTouchRequired()
java.lang.String
toString()
-
-
-
Field Detail
-
ALGORITHM
public static final java.lang.String ALGORITHM
- See Also:
- Constant Field Values
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
appName
private final java.lang.String appName
-
noTouchRequired
private final boolean noTouchRequired
-
delegatePublicKey
private final java.security.interfaces.ECPublicKey delegatePublicKey
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
getAppName
public java.lang.String getAppName()
- Specified by:
getAppName
in interfaceSecurityKeyPublicKey<java.security.interfaces.ECPublicKey>
-
isNoTouchRequired
public boolean isNoTouchRequired()
- Specified by:
isNoTouchRequired
in interfaceSecurityKeyPublicKey<java.security.interfaces.ECPublicKey>
-
getDelegatePublicKey
public java.security.interfaces.ECPublicKey getDelegatePublicKey()
- Specified by:
getDelegatePublicKey
in interfaceSecurityKeyPublicKey<java.security.interfaces.ECPublicKey>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-