public class CertInformationHelper extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
getAuthorityInfoExtensionValue(byte[] extensionValue,
CertInformationCollector.CertSignatureInformation certInfo)
Extracts authority information access extension values from the given data.
|
protected static String |
getCrlUrlFromExtensionValue(byte[] extensionValue)
Gets the first CRL URL from given extension value.
|
protected static String |
getSha1Hash(byte[] content)
Gets the SHA-1-Hash has of given byte[]-content.
|
protected static String getSha1Hash(byte[] content)
content
- to be hashedprotected static void getAuthorityInfoExtensionValue(byte[] extensionValue, CertInformationCollector.CertSignatureInformation certInfo) throws IOException
extensionValue
- byte[] of the extension value.certInfo
- where to put the found valuesIOException
- when there is a problem with the extensionValueprotected static String getCrlUrlFromExtensionValue(byte[] extensionValue) throws IOException
extensionValue
- to get the extension value fromIOException
- when there is a problem with the extensionValueCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.