diff --git a/HIRS_AttestationCA/src/test/java/hirs/attestationca/persist/provision/helper/IssuedCertificateAttributeHelperTest.java b/HIRS_AttestationCA/src/test/java/hirs/attestationca/persist/provision/helper/IssuedCertificateAttributeHelperTest.java index eb4710a9..15f9fefd 100644 --- a/HIRS_AttestationCA/src/test/java/hirs/attestationca/persist/provision/helper/IssuedCertificateAttributeHelperTest.java +++ b/HIRS_AttestationCA/src/test/java/hirs/attestationca/persist/provision/helper/IssuedCertificateAttributeHelperTest.java @@ -191,7 +191,7 @@ public class IssuedCertificateAttributeHelperTest { DLSequence dlSequence = (DLSequence) subjectAlternativeName.getParsedValue(); ASN1TaggedObject asn1TaggedObject = (ASN1TaggedObject) dlSequence.getObjectAt(0); - ASN1Sequence asn1Sequence = (ASN1Sequence) asn1TaggedObject.getObject(); + ASN1Sequence asn1Sequence = (ASN1Sequence) asn1TaggedObject.getBaseObject(); Enumeration enumeration = asn1Sequence.getObjects(); while (enumeration.hasMoreElements()) {