Home
last modified time | relevance | path

Searched refs:BitArray (Results 1 – 14 of 14) 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.java226 BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
244 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.java226 public BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
242 return new BitArray(validBits, repn); in getUnalignedBitString()
DDerValue.java572 public BitArray getUnalignedBitString() throws IOException { in getUnalignedBitString()
629 public BitArray getUnalignedBitString(boolean tagImplicit) in getUnalignedBitString()
/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.java124 bitString = new BitArray(reasons.length*8, reasons).toBooleanArray(); in ReasonFlags()
141 public ReasonFlags(BitArray reasons) { in ReasonFlags()
228 out.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encode()
DIPAddressName.java33 import sun.security.util.BitArray;
204 BitArray bitArray = new BitArray(MASKSIZE * 8); in parseIPv6()
281 BitArray ba = new BitArray(16*8, maskBytes); in getName()
DKeyUsageExtension.java76 os.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encodeThis()
110 new BitArray(bitString.length*8,bitString).toBooleanArray(); in KeyUsageExtension()
135 public KeyUsageExtension(BitArray bitString) throws IOException { in KeyUsageExtension()
DDistributionPoint.java31 import sun.security.util.BitArray;
305 BitArray rf = new BitArray(reasonFlags); in encode()
DNetscapeCertTypeExtension.java129 os.putTruncatedUnalignedBitString(new BitArray(this.bitString)); in encodeThis()
163 new BitArray(bitString.length*8, bitString).toBooleanArray(); in NetscapeCertTypeExtension()
DDistributionPointName.java31 import sun.security.util.BitArray;
/libcore/
Dopenjdk_java_files.mk1368 ojluni/src/main/java/sun/security/util/BitArray.java \