OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitString
(Results
1 - 11
of
11
) sorted by null
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
BitStringTest.java
32
import org.apache.harmony.security.asn1.
BitString
;
38
* ASN.1 DER test for
Bitstring
type
46
//
bitstring
array format:
bitstring
object/ byte array
48
{ new
BitString
(new byte[] {}, 0), // object
51
{ new
BitString
(new byte[] { 0x05 }, 0), // object
54
{ new
BitString
(new byte[] { (byte) 0x80 }, 7), // object
67
BitString
expected = (
BitString
) validBitstring[i][0];
68
BitString
decoded = (BitString) asn1.decode(in)
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BitString.java
30
public final class
BitString
{
49
public
BitString
(byte[] bytes, int unusedBits) {
63
public
BitString
(boolean[] values) {
ASN1BitString.java
29
* This class represents ASN.1
Bitstring
type.
39
* Constructs ASN.1
Bitstring
type
42
* when there is a need to create a custom ASN.1
Bitstring
type.
51
* Returns ASN.1
Bitstring
type default implementation
54
* that is represented as
BitString
object.
56
* @return ASN.1
Bitstring
type default implementation
57
* @see org.apache.harmony.security.asn1.
BitString
73
* Extracts
BitString
object from BER input stream.
76
* @return
BitString
object
82
return new
BitString
(bytes, in.buffer[in.contentOffset])
[
all
...]
BerOutputStream.java
76
BitString
bStr = (
BitString
) content;
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
CertificationRequest.java
24
import org.apache.harmony.security.asn1.
BitString
;
100
((
BitString
) values[2]).bytes,
108
values[2] = new
BitString
(certReq.signature, 0);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
SubjectPublicKeyInfo.java
34
import org.apache.harmony.security.asn1.
BitString
;
138
((
BitString
) values[1]).bytes,
139
((
BitString
) values[1]).unusedBits,
146
values[1] = new
BitString
(spki.subjectPublicKey, spki.unusedBits);
Certificate.java
29
import org.apache.harmony.security.asn1.
BitString
;
124
((
BitString
) values[2]).bytes, // FIXME keep as
BitString
object
132
values[2] = new
BitString
(cert.signatureValue, 0);
CertificateList.java
29
import org.apache.harmony.security.asn1.
BitString
;
122
((
BitString
) values[2]).bytes, // FIXME keep as
BitString
object
131
values[2] = new
BitString
(certificateList.signatureValue, 0);
TBSCertificate.java
34
import org.apache.harmony.security.asn1.
BitString
;
250
? null : ((
BitString
) values[7]).toBooleanArray();
252
? null : ((
BitString
) values[8]).toBooleanArray();
278
values[7] = new
BitString
(tbs.issuerUniqueID);
281
values[8] = new
BitString
(tbs.subjectUniqueID);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
PKIStatusInfo.java
31
import org.apache.harmony.security.asn1.
BitString
;
113
values[2] = new
BitString
(failInfoBoolArray);
124
boolean[] failInfoBoolArray = ((
BitString
) values[2]).toBooleanArray();
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
X509CertFactoryPerfTest.java
39
import org.apache.harmony.security.asn1.
BitString
;
172
.encode(new
BitString
(extnKeyUsage))),
Completed in 299 milliseconds