cybervillains.ca
Class ThumbprintUtil
java.lang.Object
cybervillains.ca.ThumbprintUtil
public class ThumbprintUtil
- extends Object
Generates a persistent SHA1 thumbprint for long-term identification of a certificate.
***************************************************************************************
Copyright (c) 2007, Information Security Partners, LLC
All rights reserved.
In a special exception, Selenium/OpenQA is allowed to use this code under the Apache License 2.0.
- Author:
- Brad Hill
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThumbprintUtil
public ThumbprintUtil()
getThumbprint
public static String getThumbprint(X509Certificate cert)
throws CertificateEncodingException
- Generates a SHA1 thumbprint of a certificate for long-term mapping.
- Parameters:
cert
-
- Returns:
-
- Throws:
CertificateEncodingException
Copyright © 2011. All Rights Reserved.