public class BlockchainCertificate
extends java.security.cert.Certificate
| Modifier | Constructor and Description |
|---|---|
|
BlockchainCertificate(byte[] publicKey) |
protected |
BlockchainCertificate(Transaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
byte[] |
getEncoded() |
java.security.PublicKey |
getPublicKey() |
java.lang.String |
toString() |
void |
verify(java.security.PublicKey key) |
void |
verify(java.security.PublicKey key,
java.lang.String sigProvider) |
public BlockchainCertificate(byte[] publicKey)
protected BlockchainCertificate(Transaction transaction)
public byte[] getEncoded()
getEncoded in class java.security.cert.Certificatepublic void verify(java.security.PublicKey key)
verify in class java.security.cert.Certificatepublic void verify(java.security.PublicKey key,
java.lang.String sigProvider)
verify in class java.security.cert.Certificatepublic java.lang.String toString()
toString in class java.security.cert.Certificateprotected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.security.PublicKey getPublicKey()
getPublicKey in class java.security.cert.Certificate