Package nxt.util.security
Class BlockchainCertificate
java.lang.Object
java.security.cert.Certificate
nxt.util.security.BlockchainCertificate
- All Implemented Interfaces:
Serializable
Represent a transaction as certificate encapsulating the transaction sender public key
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.security.cert.Certificate
Certificate.CertificateRep -
Constructor Summary
ConstructorsModifierConstructorDescriptionBlockchainCertificate(byte[] publicKey) protectedBlockchainCertificate(Transaction transaction) -
Method Summary
Methods inherited from class java.security.cert.Certificate
equals, getType, hashCode, verify, writeReplace
-
Constructor Details
-
BlockchainCertificate
public BlockchainCertificate(byte[] publicKey) -
BlockchainCertificate
-
-
Method Details
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin classCertificate
-
verify
- Specified by:
verifyin classCertificate
-
verify
- Specified by:
verifyin classCertificate
-
toString
- Specified by:
toStringin classCertificate
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getPublicKey
- Specified by:
getPublicKeyin classCertificate
-