Home
last modified time | relevance | path

Searched refs:reasons (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/cert/
DCRLReasonTest.java39 CRLReason[] reasons = CRLReason.values(); in testCRLReason_values_ExpectedValues() local
40 assertEquals(11, reasons.length); in testCRLReason_values_ExpectedValues()
41 assertEquals(CRLReason.UNSPECIFIED, reasons[0]); in testCRLReason_values_ExpectedValues()
42 assertEquals(CRLReason.KEY_COMPROMISE, reasons[1]); in testCRLReason_values_ExpectedValues()
43 assertEquals(CRLReason.CA_COMPROMISE, reasons[2]); in testCRLReason_values_ExpectedValues()
44 assertEquals(CRLReason.AFFILIATION_CHANGED, reasons[3]); in testCRLReason_values_ExpectedValues()
45 assertEquals(CRLReason.SUPERSEDED, reasons[4]); in testCRLReason_values_ExpectedValues()
46 assertEquals(CRLReason.CESSATION_OF_OPERATION, reasons[5]); in testCRLReason_values_ExpectedValues()
47 assertEquals(CRLReason.CERTIFICATE_HOLD, reasons[6]); in testCRLReason_values_ExpectedValues()
48 assertEquals(CRLReason.UNUSED, reasons[7]); in testCRLReason_values_ExpectedValues()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DReasonFlags.java124 public ReasonFlags(byte[] reasons) { in ReasonFlags() argument
125 bitString = new BitArray(reasons.length*8, reasons).toBooleanArray(); in ReasonFlags()
133 public ReasonFlags(boolean[] reasons) { in ReasonFlags() argument
134 this.bitString = reasons; in ReasonFlags()
142 public ReasonFlags(BitArray reasons) { in ReasonFlags() argument
143 this.bitString = reasons.toBooleanArray(); in ReasonFlags()
DDistributionPoint.java304 DerOutputStream reasons = new DerOutputStream(); in encode() local
306 reasons.putTruncatedUnalignedBitString(rf); in encode()
309 reasons); in encode() local
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DDistributionPointFetcher.java541 ReasonFlags reasons = null; in verifyCRL() local
543 reasons = (ReasonFlags) in verifyCRL()
548 if (reasons != null) { in verifyCRL()
552 boolean[] idpReasonFlags = reasons.getFlags(); in verifyCRL()
562 interimReasonsMask = reasons.getFlags().clone(); in verifyCRL()
564 } else if (idpExt == null || reasons == null) { in verifyCRL()
/libcore/expectations/
Dknownfailures.txt1330 …description: "external/apache-harmony tests for java.sql are broken for various reasons. java.sql …