mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-05 04:34:16 +00:00
Updated the reference to the getObject for a Tagged Object. this is
current causing the build to fail in reference to #693 Unit test
This commit is contained in:
parent
06dc119702
commit
7c1f43c19b
@ -191,7 +191,7 @@ public class IssuedCertificateAttributeHelperTest {
|
|||||||
|
|
||||||
DLSequence dlSequence = (DLSequence) subjectAlternativeName.getParsedValue();
|
DLSequence dlSequence = (DLSequence) subjectAlternativeName.getParsedValue();
|
||||||
ASN1TaggedObject asn1TaggedObject = (ASN1TaggedObject) dlSequence.getObjectAt(0);
|
ASN1TaggedObject asn1TaggedObject = (ASN1TaggedObject) dlSequence.getObjectAt(0);
|
||||||
ASN1Sequence asn1Sequence = (ASN1Sequence) asn1TaggedObject.getObject();
|
ASN1Sequence asn1Sequence = (ASN1Sequence) asn1TaggedObject.getBaseObject();
|
||||||
|
|
||||||
Enumeration enumeration = asn1Sequence.getObjects();
|
Enumeration enumeration = asn1Sequence.getObjects();
|
||||||
while (enumeration.hasMoreElements()) {
|
while (enumeration.hasMoreElements()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user