public class CalculateCertificateHash extends Object
| Constructor and Description |
|---|
CalculateCertificateHash(String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
calculateHash()
calculates the SHA-256 hash and converts it to a Hex String
|
static void |
main(String[] args)
main method to be called from command line
|
boolean |
validateCertificate()
validates that the given certificate path exists and the Certificate could be read
|
public CalculateCertificateHash(String path)
path - the path to the certificatepublic boolean validateCertificate()
public String calculateHash()
Copyright © 2015. All rights reserved.