Class PgpKeyId
java.lang.Object
org.gradle.plugins.signing.signatory.pgp.PgpKeyId
- All Implemented Interfaces:
Comparable<PgpKeyId>
A normalised form for keys, which are friendliest for users as hex strings but used internally as longs.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PgpKeyId
public PgpKeyId(long keyId) Creates a newPgpKeyId.- Since:
- 1.0
-
PgpKeyId
public PgpKeyId(org.bouncycastle.openpgp.PGPPublicKey keyId) Creates a newPgpKeyId.- Since:
- 1.0
-
PgpKeyId
public PgpKeyId(org.bouncycastle.openpgp.PGPSignature signature) Creates a newPgpKeyId.- Since:
- 1.0
-
PgpKeyId
-
-
Method Details
-
equals
-
hashCode
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<PgpKeyId>
-
getAsHex
-
getAsLong
public final long getAsLong()Returns the as long.- Since:
- 1.0
-
toHex
-
toLong
-