Home
last modified time | relevance | path

Searched refs:BitArray (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/util/
DBitArray.java38 public class BitArray { class
56 public BitArray(int length) throws IllegalArgumentException { in BitArray() method in BitArray
74 public BitArray(int length, byte[] a) throws IllegalArgumentException { in BitArray() method in BitArray
106 public BitArray(boolean[] bits) { in BitArray() method in BitArray
119 private BitArray(BitArray ba) { in BitArray() method in BitArray
175 if (obj == null || !(obj instanceof BitArray)) return false; in equals()
177 BitArray ba = (BitArray) obj; in equals()
215 return new BitArray(this); in clone()
266 public BitArray truncate() { in truncate()
269 return new BitArray(i+1, Arrays.copyOf(repn, (i + BITS_PER_UNIT)/BITS_PER_UNIT)); in truncate()
[all …]
DDerInputBuffer.java233 BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
251 BitArray bitArray = new BitArray(length, bits); in getUnalignedBitString()
DDerOutputStream.java250 public void putUnalignedBitString(BitArray ba) throws IOException { in putUnalignedBitString()
265 public void putTruncatedUnalignedBitString(BitArray ba) throws IOException { in putTruncatedUnalignedBitString()
DDerInputStream.java251 public BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
276 return new BitArray(validBits, repn); in getUnalignedBitString()
DDerValue.java576 public BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
633 public BitArray getUnalignedBitString(boolean tagImplicit) in getUnalignedBitString()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DBitArray.java29 public class BitArray { class
31 public BitArray(int length) throws java.lang.IllegalArgumentException { in BitArray() method in BitArray
36 public BitArray(int length, byte[] a) throws java.lang.IllegalArgumentException { in BitArray() method in BitArray
40 public BitArray(boolean[] bits) { in BitArray() method in BitArray
44 private BitArray(sun.security.util.BitArray ba) { in BitArray() method in BitArray
93 public sun.security.util.BitArray truncate() { in truncate()
DDerOutputStream.java95 public void putUnalignedBitString(sun.security.util.BitArray ba) throws java.io.IOException { in putUnalignedBitString()
99 public void putTruncatedUnalignedBitString(sun.security.util.BitArray ba) in putTruncatedUnalignedBitString()
DDerValue.java164 public sun.security.util.BitArray getUnalignedBitString() throws java.io.IOException { in getUnalignedBitString()
177 public sun.security.util.BitArray getUnalignedBitString(boolean tagImplicit) in getUnalignedBitString()
DDerInputStream.java88 public sun.security.util.BitArray getUnalignedBitString() throws java.io.IOException { in getUnalignedBitString()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509Key.java39 private X509Key(sun.security.x509.AlgorithmId algid, sun.security.util.BitArray key) in X509Key()
44 protected void setKey(sun.security.util.BitArray key) { in setKey()
48 protected sun.security.util.BitArray getKey() { in getKey()
63 sun.security.x509.AlgorithmId algid, sun.security.util.BitArray key) in buildX509Key()
127 sun.security.util.BitArray key) in encode()
134 private sun.security.util.BitArray bitStringKey;
DUniqueIdentity.java33 public UniqueIdentity(sun.security.util.BitArray id) { in UniqueIdentity()
64 private sun.security.util.BitArray id;
DKeyUsageExtension.java43 public KeyUsageExtension(sun.security.util.BitArray bitString) throws java.io.IOException { in KeyUsageExtension()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509Key.java86 private BitArray bitStringKey = null;
103 private X509Key(AlgorithmId algid, BitArray key) in X509Key()
113 protected void setKey(BitArray key) { in setKey()
114 this.bitStringKey = (BitArray)key.clone(); in setKey()
130 protected BitArray getKey() { in getKey()
139 this.bitStringKey = new BitArray( in getKey()
143 return (BitArray)bitStringKey.clone(); in getKey()
205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key) in buildX509Key()
470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) in encode()
DUniqueIdentity.java41 private BitArray id;
48 public UniqueIdentity(BitArray id) { in UniqueIdentity()
58 this.id = new BitArray(id.length*8, id); in UniqueIdentity()
DReasonFlags.java125 bitString = new BitArray(reasons.length*8, reasons).toBooleanArray(); in ReasonFlags()
142 public ReasonFlags(BitArray reasons) { in ReasonFlags()
244 out.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encode()
DIPAddressName.java33 import sun.security.util.BitArray;
206 BitArray bitArray = new BitArray(MASKSIZE * 8); in parseIPv6()
283 BitArray ba = new BitArray(16*8, maskBytes); in getName()
DDistributionPoint.java31 import sun.security.util.BitArray;
305 BitArray rf = new BitArray(reasonFlags); in encode()
DKeyUsageExtension.java76 os.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encodeThis()
111 new BitArray(bitString.length*8,bitString).toBooleanArray(); in KeyUsageExtension()
136 public KeyUsageExtension(BitArray bitString) throws IOException { in KeyUsageExtension()
DNetscapeCertTypeExtension.java129 os.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encodeThis()
164 new BitArray(bitString.length*8, bitString).toBooleanArray(); in NetscapeCertTypeExtension()
DDistributionPointName.java31 import sun.security.util.BitArray;
/libcore/
Dopenjdk_java_files.bp1670 "ojluni/src/main/java/sun/security/util/BitArray.java",