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.java123 public ReasonFlags(byte[] reasons) { in ReasonFlags() argument
124 bitString = new BitArray(reasons.length*8, reasons).toBooleanArray(); in ReasonFlags()
132 public ReasonFlags(boolean[] reasons) { in ReasonFlags() argument
133 this.bitString = reasons; in ReasonFlags()
141 public ReasonFlags(BitArray reasons) { in ReasonFlags() argument
142 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.java532 ReasonFlags reasons = null; in verifyCRL() local
534 reasons = (ReasonFlags) in verifyCRL()
539 if (reasons != null) { in verifyCRL()
543 boolean[] idpReasonFlags = reasons.getFlags(); in verifyCRL()
553 interimReasonsMask = reasons.getFlags().clone(); in verifyCRL()
555 } else if (idpExt == null || reasons == null) { in verifyCRL()
/libcore/expectations/
Dknownfailures.txt1336 …description: "external/apache-harmony tests for java.sql are broken for various reasons. java.sql …