public static final class DeviceApi.Crypto.SignKey extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
setDefault()
Resets the default signing behaviour.
|
static boolean |
setFromPem(Path pemPath)
Sets the sign key from a PEM file.
|
static boolean |
setFromPkcs12(Path pkcs12Path,
String password)
Sets the sign key from a PKCS12 file.
|
static boolean |
setFromStore(String commonName)
Sets a signing key that is gotten from the local certificate
store.
|
public static boolean setFromPem(Path pemPath)
pemPath
- The path to the PEM file.public static boolean setFromPkcs12(Path pkcs12Path, String password)
pkcs12Path
- The path to the PKCS12 file.password
- A suitable password.public static boolean setFromStore(String commonName)
commonName
- The common name of the certificate.public static boolean setDefault()
Copyright © 2024. All rights reserved.