public interface Cryptography
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
createNewPrivateKey() |
byte[] |
getPrivateKeyAtOffset(byte[] privateKey,
byte[] offset) |
byte[] |
getPublicFor(byte[] privateKey) |
byte[] |
getPublicKeyAtOffset(byte[] publicKey,
byte[] offset) |
org.bouncycastle.crypto.params.AsymmetricKeyParameter |
loadECPublicKey(java.io.InputStream stream) |
byte[] |
sign(byte[] hash,
byte[] privateKey) |
byte[] |
uncompressPoint(byte[] compressed) |
boolean |
verify(byte[] hash,
byte[] signature,
byte[] publicKey) |
byte[] createNewPrivateKey()
byte[] getPublicFor(byte[] privateKey)
byte[] getPrivateKeyAtOffset(byte[] privateKey,
byte[] offset)
byte[] uncompressPoint(byte[] compressed)
byte[] getPublicKeyAtOffset(byte[] publicKey,
byte[] offset)
byte[] sign(byte[] hash,
byte[] privateKey)
boolean verify(byte[] hash,
byte[] signature,
byte[] publicKey)
org.bouncycastle.crypto.params.AsymmetricKeyParameter loadECPublicKey(java.io.InputStream stream)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All Rights Reserved.