# keystoretype attribute

Type: | The name of a keystore type and optional keystore package provider.
Inherited: | no
Used By: | input
Default: | "JKS"
See: | alias handler keypassword keystore location password reason signer

This attribute determines the type of keystore specified by the keystore attribute. It is only used by the input type="signature" element. The parameter is passed directly into the constructor for `java.security.KeyStore`, except when it contains a hyphen - in which case it is split at that point into the type and provider. For example, setting the keystoretype to "JKS-SUN" would load the Sun implementation of the JKS store, whereas setting it to "pkcs12" would use any implementation of a PKCS#12 keystore that was available in the system.