gradle
Toggle table of contents
9.6.0-20260414005124+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.plugins.signing.signatory.pgp
/
PgpSignatory
Pgp
Signatory
API
open
class
PgpSignatory
:
SignatorySupport
(
source
)
PGP signatory from PGP key and password.
Members
Constructors
Pgp
Signatory
Link copied to clipboard
API
constructor
(
name
:
String
,
secretKey
:
PGPSecretKey
,
password
:
String
)
Properties
name
Link copied to clipboard
API
val
name
:
String
Functions
create
Signature
Generator
Link copied to clipboard
API
open
fun
createSignatureGenerator
(
)
:
PGPSignatureGenerator
get
Key
Id
Link copied to clipboard
API
open
fun
getKeyId
(
)
:
String
Returns the id of the key that will be used for signing.
sign
Link copied to clipboard
API
open
fun
sign
(
toSign
:
InputStream
)
:
Array
<
Byte
>
Exhausts
toSign
, and returns the raw signature bytes.
open
fun
sign
(
toSign
:
InputStream
,
signatureDestination
:
OutputStream
)
Exhausts
toSign
, and writes the signature to
signatureDestination
.