# DefaultSignatureTypeProvider

open class DefaultSignatureTypeProvider : AbstractSignatureTypeProvider(source)

The default SignatureTypeProvider implementation including support for BinarySignatureType and ArmoredSignatureType signatures.

#### Since

1.0

## Constructors

DefaultSignatureTypeProvider
Link copied to clipboard
constructor()
Creates a new `DefaultSignatureTypeProvider`.

## Functions

getDefaultType
Link copied to clipboard
open fun getDefaultType(): SignatureType
Returns the default type.
getTypeForExtension
Link copied to clipboard
open fun getTypeForExtension(extension: String): SignatureType
Returns the type for extension.
hasTypeForExtension
Link copied to clipboard
open fun hasTypeForExtension(extension: String): Boolean
Returns whether type for extension.
setDefaultType
Link copied to clipboard
open fun setDefaultType(defaultTypeExtension: String)
abstract fun setDefaultType(extension: String)
Sets the default type.