api / org.gradle.plugins.signing / Signature / getType

getType

open fun getType(): String

The type of the signature artifact.

Defaults to the extension of the file to sign plus the extension of the signature type. For example, when signing the file ‘my.zip’ with a signature type with extension ‘sig’, the default type is ‘zip.sig’.

Return
The type. May be null if the file to sign or signature type are unknown at this time.