/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1BitString.java | 22 protected final int padBits; field in ASN1BitString 104 protected ASN1BitString(byte data, int padBits) in ASN1BitString() argument 106 if (padBits > 7 || padBits < 0) in ASN1BitString() 112 this.padBits = padBits; in ASN1BitString() 123 int padBits) in ASN1BitString() argument 129 if (data.length == 0 && padBits != 0) in ASN1BitString() 133 if (padBits > 7 || padBits < 0) in ASN1BitString() 139 this.padBits = padBits; in ASN1BitString() 183 byte der = (byte)(data[end] & (0xFF << padBits)); in intValue() 198 if (padBits != 0) in getOctets() [all …]
|
D | DERBitString.java | 29 return new DERBitString(((DLBitString)obj).data, ((DLBitString)obj).padBits); in getInstance() 72 protected DERBitString(byte data, int padBits) in DERBitString() argument 74 super(data, padBits); in DERBitString() 83 int padBits) in DERBitString() argument 85 super(data, padBits); in DERBitString() 121 || 0 == padBits in encode() 122 || (data[len - 1] == (byte)(data[len - 1] & (0xFF << padBits)))) in encode() 124 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 128 byte der = (byte)(data[len - 1] & (0xFF << padBits)); in encode() 129 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data, 0, len - 1, der); in encode() [all …]
|
D | DLBitString.java | 72 protected DLBitString(byte data, int padBits) in DLBitString() argument 74 super(data, padBits); in DLBitString() 83 int padBits) in DLBitString() argument 85 super(data, padBits); in DLBitString() 119 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 134 int padBits = bytes[0]; in fromOctetString() local 142 return new DLBitString(data, padBits); in fromOctetString()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1BitString.java | 20 protected final int padBits; field in ASN1BitString 102 protected ASN1BitString(byte data, int padBits) in ASN1BitString() argument 104 if (padBits > 7 || padBits < 0) in ASN1BitString() 110 this.padBits = padBits; in ASN1BitString() 121 int padBits) in ASN1BitString() argument 127 if (data.length == 0 && padBits != 0) in ASN1BitString() 131 if (padBits > 7 || padBits < 0) in ASN1BitString() 137 this.padBits = padBits; in ASN1BitString() 181 byte der = (byte)(data[end] & (0xFF << padBits)); in intValue() 196 if (padBits != 0) in getOctets() [all …]
|
D | DERBitString.java | 27 return new DERBitString(((DLBitString)obj).data, ((DLBitString)obj).padBits); in getInstance() 70 protected DERBitString(byte data, int padBits) in DERBitString() argument 72 super(data, padBits); in DERBitString() 81 int padBits) in DERBitString() argument 83 super(data, padBits); in DERBitString() 119 || 0 == padBits in encode() 120 || (data[len - 1] == (byte)(data[len - 1] & (0xFF << padBits)))) in encode() 122 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 126 byte der = (byte)(data[len - 1] & (0xFF << padBits)); in encode() 127 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data, 0, len - 1, der); in encode() [all …]
|
D | DLBitString.java | 70 protected DLBitString(byte data, int padBits) in DLBitString() argument 72 super(data, padBits); in DLBitString() 81 int padBits) in DLBitString() argument 83 super(data, padBits); in DLBitString() 117 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 132 int padBits = bytes[0]; in fromOctetString() local 140 return new DLBitString(data, padBits); in fromOctetString()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1BitString.java | 22 protected final int padBits; field in ASN1BitString 104 protected ASN1BitString(byte data, int padBits) in ASN1BitString() argument 106 if (padBits > 7 || padBits < 0) in ASN1BitString() 112 this.padBits = padBits; in ASN1BitString() 123 int padBits) in ASN1BitString() argument 129 if (data.length == 0 && padBits != 0) in ASN1BitString() 133 if (padBits > 7 || padBits < 0) in ASN1BitString() 139 this.padBits = padBits; in ASN1BitString() 183 byte der = (byte)(data[end] & (0xFF << padBits)); in intValue() 198 if (padBits != 0) in getOctets() [all …]
|
D | DERBitString.java | 29 return new DERBitString(((DLBitString)obj).data, ((DLBitString)obj).padBits); in getInstance() 72 protected DERBitString(byte data, int padBits) in DERBitString() argument 74 super(data, padBits); in DERBitString() 83 int padBits) in DERBitString() argument 85 super(data, padBits); in DERBitString() 122 || 0 == padBits in encode() 123 || (data[len - 1] == (byte)(data[len - 1] & (0xFF << padBits)))) in encode() 125 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 129 byte der = (byte)(data[len - 1] & (0xFF << padBits)); in encode() 130 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data, 0, len - 1, der); in encode() [all …]
|
D | DLBitString.java | 72 protected DLBitString(byte data, int padBits) in DLBitString() argument 74 super(data, padBits); in DLBitString() 83 int padBits) in DLBitString() argument 85 super(data, padBits); in DLBitString() 119 out.writeEncoded(withTag, BERTags.BIT_STRING, (byte)padBits, data); in encode() 134 int padBits = bytes[0]; in fromOctetString() local 142 return new DLBitString(data, padBits); in fromOctetString()
|