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
ConstructorsConstructorDescriptionKeypairSigner(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:
 getOriginin interfaceOriginSigner
 - 
getKeyPageHeight
public int getKeyPageHeight()- Specified by:
 getKeyPageHeightin interfaceOriginSigner
 - 
getKeyPageIndex
public int getKeyPageIndex()- Specified by:
 getKeyPageIndexin interfaceOriginSigner
 - 
sign
public AccSignature sign(Transaction tx) throws NoSuchAlgorithmException, SignatureException, InvalidKeyException - Specified by:
 signin interfaceOriginSigner- Throws:
 NoSuchAlgorithmExceptionSignatureExceptionInvalidKeyException
 
 -