Home
last modified time | relevance | path

Searched refs:ca (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
DBasicConstraintsExtension.java68 private boolean ca = false; field in BasicConstraintsExtension
76 if (ca) { in encodeThis()
77 tmp.putBoolean(ca); in encodeThis()
94 public BasicConstraintsExtension(boolean ca, int len) throws IOException { in BasicConstraintsExtension() argument
95 this(Boolean.valueOf(ca), ca, len); in BasicConstraintsExtension()
105 public BasicConstraintsExtension(Boolean critical, boolean ca, int len) in BasicConstraintsExtension() argument
107 this.ca = ca; in BasicConstraintsExtension()
144 this.ca = opt.getBoolean(); in BasicConstraintsExtension()
176 s += ((ca) ? (" CA:true") : (" CA:false")) + "\n"; in toString()
194 if (ca) { in encode()
[all …]
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java49 char[] ca = new char[len]; in toString() local
51 return new String(ca); in toString()
56 int clen = ((ArrayDecoder)cd).decode(ba, 0, length, ca); in toString()
59 return new String(ca, 0, clen); in toString()
62 CharBuffer cb = CharBuffer.wrap(ca); in toString()
69 return new String(ca, 0, cb.position()); in toString()
78 char[] ca = s.toCharArray(); in getBytes() local
79 int len = (int)(ca.length * ce.maxBytesPerChar()); in getBytes()
86 int blen = ((ArrayEncoder)ce).encode(ca, 0, ca.length, ba); in getBytes()
92 CharBuffer cb = CharBuffer.wrap(ca); in getBytes()
/libcore/support/src/test/java/tests/resources/x509/
Dcreate.sh83 rm -rf /tmp/ca
84 mkdir -p /tmp/ca
85 touch /tmp/ca/index.txt
86 touch /tmp/ca/index.txt.attr
87 echo "01" > /tmp/ca/serial
94 openssl ca -gencrl -crlhours 70 -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -out /tmp/crl-empty.p…
98 openssl ca -revoke /tmp/cert-rsa.pem -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -config "$DIR/de…
99 openssl ca -gencrl -crlhours 70 -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -out /tmp/crl-rsa.pem…
107 openssl ca -revoke /tmp/cert-dsa.pem -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -crl_reason cess…
108 openssl ca -gencrl -startdate 140101010101Z -crldays 30 -keyfile /tmp/cakey.pem -cert /tmp/cacert.p…
[all …]
Ddefault.cnf72 # We can add new OIDs in here for use by 'ca' and 'req'.
79 [ ca ]
80 default_ca = CA_default # The default ca section
85 dir = /tmp/ca # Where everything is kept
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidInputStreamReaderTest.java99 char[] ca = new char[600]; in testStringy() local
100 int n = r.read(ca, 0, 600); in testStringy()
102 String s2 = new String(ca, 0, n); in testStringy()
DOldAndroidPushbackReaderTest.java32 StringReader ca = new StringReader(str); in testPushbackReader() local
50 PushbackReader c = new PushbackReader(ca); in testPushbackReader()
DOldAndroidBufferedReaderTest.java34 StringReader ca = new StringReader(str); in testBufferedReader() local
51 BufferedReader c = new BufferedReader(ca); in testBufferedReader()
DOldAndroidPushbackInputStreamTest.java32 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes()); in testPushbackInputStream() local
50 PushbackInputStream c = new PushbackInputStream(ca); in testPushbackInputStream()
DOldAndroidBufferedInputStreamTest.java35 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes()); in testBufferedInputStream() local
53 BufferedInputStream c = new BufferedInputStream(ca, 9); in testBufferedInputStream()
DOldAndroidLineNumberReaderTest.java36 StringReader ca = new StringReader(str); in testLineNumberReader() local
58 LineNumberReader c = new LineNumberReader(ca); in testLineNumberReader()
DOldAndroidDataInputStreamTest.java34 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes()); in testDataInputStream() local
51 DataInputStream c = new DataInputStream(ca); in testDataInputStream()
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsCharBuffer.java166 char[] ca = new char[len]; in toString() local
167 CharBuffer cb = CharBuffer.wrap(ca); in toString()
172 return new String(ca); in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedReaderTest.java227 char[] ca = new char[2]; in test_read$CII() local
254 toRet.read(ca, 0, 0); in test_read$CII()
267 toRet.read(ca, 1, 5); in test_read$CII()
278 toRet.read(ca, 0, 2)); in test_read$CII()
279 assertEquals("EOF on a reader should be -1", -1, toRet.read(ca, 0, in test_read$CII()
282 .read(ca, 0, 0)); in test_read$CII()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java209 .ca(true) in initCerts()
216 .ca(true) in initCerts()
224 .ca(true) in initCerts()
260 .ca(true) in initCerts()
265 .ca(true) in initCerts()
362 private boolean ca; field in TestKeyStore.Builder
415 public Builder ca(boolean ca) { in ca() argument
416 this.ca = ca; in ca()
614 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca, in createKeys()
673 boolean ca, in createCertificate() argument
[all …]
/libcore/ojluni/src/main/java/java/io/
DConsole.java251 char[] ca = readline(false); in readLine() local
252 if (ca != null) in readLine()
253 line = new String(ca); in readLine()
DObjectOutputStream.java1408 char[] ca = (char[]) array; in writeArray() local
1409 bout.writeInt(ca.length); in writeArray()
1410 bout.writeChars(ca, 0, ca.length); in writeArray()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertSelectorTest.java150 .ca(true) in newCertWithNameConstraint()
/libcore/luni/src/test/java/tests/security/cert/
DTrustAnchorTest.java570 X500Principal ca = ta.getCA(); in testGetCA01() local
571 assertEquals("equals1", validCaNameRfc2253, ca.getName()); in testGetCA01()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java129 char[] ca = fs.normalizeNativePath(input.toCharArray()); in encode() local
132 byte[] ba = new byte[(int)(ca.length * (double)ce.maxBytesPerChar())]; in encode()
136 CharBuffer cb = CharBuffer.wrap(ca); in encode()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java4548 char[] ca = s.toCharArray();
4550 for (int i = 0; i < ca.length; i++) {
4551 Flags v = parse(ca[i]);