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 intcompareTo(PgpKeyId other)booleanequals(Object other)StringgetAsHex()longgetAsLong()inthashCode()static StringtoHex(long keyId)static longtoLong(String keyId)StringtoString()
-
-
-
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)
-
-