| 限定符和类型 | 方法和说明 |
|---|---|
static PrivateKey |
createNew(Cryptography crypto) |
boolean |
equals(java.lang.Object obj) |
PublicKey |
getPublic() |
int |
hashCode() |
PrivateKey |
offsetKey(java.math.BigInteger offset)
Return a key computable for this key with an offset.
|
byte[] |
sign(byte[] hash)
Sign a digest with this key.
|
byte[] |
toByteArray()
Safe access to the key's internal representation
|
java.lang.String |
toString() |
public static PrivateKey createNew(Cryptography crypto)
public byte[] toByteArray()
KeytoByteArray 在接口中 Keypublic PublicKey getPublic()
public byte[] sign(byte[] hash)
hash - arbitrary datapublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic PrivateKey offsetKey(java.math.BigInteger offset)
Keypublic int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals 在类中 java.lang.ObjectCopyright © 2018. All Rights Reserved.