mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 11:26:51 +00:00
Test out an potential exception
This commit is contained in:
parent
8fa5dfdd9e
commit
a7eae2fd77
@ -1261,8 +1261,14 @@ public abstract class AbstractAttestationCertificateAuthority
|
||||
IssuedCertificateAttributeHelper.buildSubjectAlternativeNameFromCerts(
|
||||
endorsementCredential, platformCredentials, deviceName);
|
||||
|
||||
Extension authKeyIdentifier = IssuedCertificateAttributeHelper
|
||||
.buildAuthorityKeyIdentifier(endorsementCredential);
|
||||
Extension authKeyIdentifier = null;
|
||||
|
||||
try {
|
||||
authKeyIdentifier = IssuedCertificateAttributeHelper
|
||||
.buildAuthorityKeyIdentifier(endorsementCredential);
|
||||
} catch (Exception ex) {
|
||||
LOG.error("Test");
|
||||
}
|
||||
|
||||
builder.addExtension(subjectAlternativeName);
|
||||
if (authKeyIdentifier != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user