public class SkED25519PublicKey extends java.lang.Object implements SecurityKeyPublicKey<net.i2p.crypto.eddsa.EdDSAPublicKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALGORITHM |
private java.lang.String |
appName |
private net.i2p.crypto.eddsa.EdDSAPublicKey |
delegatePublicKey |
private boolean |
noTouchRequired |
private static long |
serialVersionUID |
Constructor and Description |
---|
SkED25519PublicKey(java.lang.String appName,
boolean noTouchRequired,
net.i2p.crypto.eddsa.EdDSAPublicKey delegatePublicKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
java.lang.String |
getAppName() |
net.i2p.crypto.eddsa.EdDSAPublicKey |
getDelegatePublicKey() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
boolean |
isNoTouchRequired() |
java.lang.String |
toString() |
public static final java.lang.String ALGORITHM
private static final long serialVersionUID
private final java.lang.String appName
private final boolean noTouchRequired
private final net.i2p.crypto.eddsa.EdDSAPublicKey delegatePublicKey
public SkED25519PublicKey(java.lang.String appName, boolean noTouchRequired, net.i2p.crypto.eddsa.EdDSAPublicKey delegatePublicKey)
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getAppName()
getAppName
in interface SecurityKeyPublicKey<net.i2p.crypto.eddsa.EdDSAPublicKey>
public boolean isNoTouchRequired()
isNoTouchRequired
in interface SecurityKeyPublicKey<net.i2p.crypto.eddsa.EdDSAPublicKey>
public net.i2p.crypto.eddsa.EdDSAPublicKey getDelegatePublicKey()
getDelegatePublicKey
in interface SecurityKeyPublicKey<net.i2p.crypto.eddsa.EdDSAPublicKey>
public java.lang.String toString()
toString
in class java.lang.Object