Package com.sdk.accumulate.service
Class KeypairSigner
java.lang.Object
com.sdk.accumulate.service.KeypairSigner
- All Implemented Interfaces:
OriginSigner
- Direct Known Subclasses:
ADI
,LiteAccount
-
Constructor Summary
ConstructorDescriptionKeypairSigner
(AccURL acmeTokenUrl, com.iwebpp.crypto.TweetNaclFast.Signature.KeyPair keypair) -
Method Summary
-
Constructor Details
-
KeypairSigner
public KeypairSigner(AccURL acmeTokenUrl, com.iwebpp.crypto.TweetNaclFast.Signature.KeyPair keypair)
-
-
Method Details
-
getPublicKey
public byte[] getPublicKey() -
getOrigin
- Specified by:
getOrigin
in interfaceOriginSigner
-
getKeyPageHeight
public int getKeyPageHeight()- Specified by:
getKeyPageHeight
in interfaceOriginSigner
-
getKeyPageIndex
public int getKeyPageIndex()- Specified by:
getKeyPageIndex
in interfaceOriginSigner
-
sign
public AccSignature sign(Transaction tx) throws NoSuchAlgorithmException, SignatureException, InvalidKeyException - Specified by:
sign
in interfaceOriginSigner
- Throws:
NoSuchAlgorithmException
SignatureException
InvalidKeyException
-