public final class Record
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
Record.Signer |
static interface |
Record.Verifier |
| 构造器和说明 |
|---|
Record(long seq,
KeyValuePair[] pairs,
Record.Signer signer) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Record |
decode(byte[] record) |
RLPList |
decode(Record.Verifier verifier) |
boolean |
equals(java.lang.Object o) |
RLPList |
getContent() |
RLPList |
getRLP() |
long |
getSeq() |
RLPItem |
getSignature() |
int |
hashCode() |
static Record |
parse(java.lang.String enrString) |
java.lang.String |
toString() |
public Record(long seq,
KeyValuePair[] pairs,
Record.Signer signer)
public static Record parse(java.lang.String enrString) throws DecodeException
DecodeExceptionpublic static Record decode(byte[] record) throws DecodeException
DecodeExceptionpublic RLPList getRLP()
public RLPItem getSignature() throws DecodeException
DecodeExceptionpublic RLPList getContent() throws DecodeException
DecodeExceptionpublic long getSeq()
throws DecodeException
DecodeExceptionpublic RLPList decode(Record.Verifier verifier) throws DecodeException, java.security.SignatureException
DecodeExceptionjava.security.SignatureExceptionpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object