toggle menu
gradle
8.12
API
switch theme
search in API
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
get
Name
Link copied to clipboard
API
abstract
fun
getName
(
)
:
String
sign
Link copied to clipboard
API
open
fun
sign
(
toSign
:
InputStream
)
:
Array
<
Byte
>
open
fun
sign
(
toSign
:
InputStream
,
signatureDestination
:
OutputStream
)
Exhausts
toSign
, and writes the signature to
signatureDestination
.