public final class KeyGrip extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getKeyGrip(org.bouncycastle.openpgp.PGPPublicKey publicKey)
Computes the keygrip for a
PGPPublicKey. |
@NonNull public static byte[] getKeyGrip(org.bouncycastle.openpgp.PGPPublicKey publicKey) throws org.bouncycastle.openpgp.PGPException
PGPPublicKey.publicKey - to get the keygrip oforg.bouncycastle.openpgp.PGPException - if an unknown key type is encountered.Copyright © 2021 Eclipse JGit Project. All rights reserved.