Class PgpKeyId
- java.lang.Object
-
- org.gradle.plugins.signing.signatory.pgp.PgpKeyId
-
- All Implemented Interfaces:
Comparable<PgpKeyId>
public class PgpKeyId extends Object implements Comparable<PgpKeyId>
A normalised form for keys, which are friendliest for users as hex strings but used internally as longs.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PgpKeyId other)
boolean
equals(Object other)
String
getAsHex()
long
getAsLong()
int
hashCode()
static String
toHex(long keyId)
static long
toLong(String keyId)
String
toString()
-
-
-
Constructor Detail
-
PgpKeyId
public PgpKeyId(long keyId)
-
PgpKeyId
public PgpKeyId(org.bouncycastle.openpgp.PGPPublicKey keyId)
-
PgpKeyId
public PgpKeyId(org.bouncycastle.openpgp.PGPSignature signature)
-
PgpKeyId
public PgpKeyId(String keyId)
-
-