mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-08 03:44:31 +00:00
ACA was throwing up errors because of serialization for the Platform
Cert, undid code for spotbugs to resolve the issue
This commit is contained in:
parent
8aef4b5bac
commit
799a9922f4
@ -76,8 +76,6 @@ public class FIPSLevel {
|
||||
private SecurityLevel level;
|
||||
@Getter @Setter
|
||||
private ASN1Boolean plus;
|
||||
@Getter
|
||||
private ASN1Sequence asn1Sequence;
|
||||
|
||||
/**
|
||||
* Default constructor.
|
||||
@ -111,8 +109,6 @@ public class FIPSLevel {
|
||||
if (sequence.size() == MAX_SEQUENCE_SIZE) {
|
||||
plus = ASN1Boolean.getInstance(sequence.getObjectAt(2));
|
||||
}
|
||||
|
||||
this.asn1Sequence = sequence;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -2,7 +2,6 @@ package hirs.attestationca.persist.entity.userdefined.certificate.attributes;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.bouncycastle.asn1.ASN1Boolean;
|
||||
import org.bouncycastle.asn1.ASN1Enumerated;
|
||||
import org.bouncycastle.asn1.ASN1Integer;
|
||||
@ -86,9 +85,7 @@ public class TBBSecurityAssertion {
|
||||
}
|
||||
|
||||
private ASN1Integer version;
|
||||
@Getter @Setter
|
||||
private CommonCriteriaMeasures ccInfo;
|
||||
@Getter @Setter
|
||||
private FIPSLevel fipsLevel;
|
||||
private MeasurementRootType rtmType;
|
||||
private ASN1Boolean iso9000Certified;
|
||||
@ -185,6 +182,34 @@ public class TBBSecurityAssertion {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the ccInfo
|
||||
*/
|
||||
public CommonCriteriaMeasures getCcInfo() {
|
||||
return ccInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ccInfo the ccInfo to set
|
||||
*/
|
||||
public void setCcInfo(final CommonCriteriaMeasures ccInfo) {
|
||||
this.ccInfo = ccInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the fipsLevel
|
||||
*/
|
||||
public FIPSLevel getFipsLevel() {
|
||||
return fipsLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param fipsLevel the fipsLevel to set
|
||||
*/
|
||||
public void setFipsLevel(final FIPSLevel fipsLevel) {
|
||||
this.fipsLevel = fipsLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the rtmType
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user