/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PrincipalUtil.java | 33 ASN1Primitive.fromByteArray(cert.getTBSCertificate())); in getIssuerX509Principal() 53 ASN1Primitive.fromByteArray(cert.getTBSCertificate())); in getSubjectX509Principal() 72 ASN1Primitive.fromByteArray(crl.getTBSCertList())); in getIssuerX509Principal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 44 return (ASN1GeneralizedTime)fromByteArray((byte[])obj); in getInstance() 150 return Strings.fromByteArray(time); in getTimeString() 168 String stime = Strings.fromByteArray(time); in getTime() 247 String stime = Strings.fromByteArray(time); in getDate()
|
D | ASN1UTCTime.java | 58 return (ASN1UTCTime)fromByteArray((byte[])obj); in getInstance() 207 String stime = Strings.fromByteArray(time); in getTime() 312 return Strings.fromByteArray(time); in toString()
|
D | DERT61String.java | 37 return (DERT61String)fromByteArray((byte[])obj); in getInstance() 102 return Strings.fromByteArray(string); in getString()
|
D | DERVisibleString.java | 39 return (DERVisibleString)fromByteArray((byte[])obj); in getInstance() 96 return Strings.fromByteArray(string); in getString()
|
D | DERGeneralString.java | 26 return (DERGeneralString)fromByteArray((byte[])obj); in getInstance() 66 return Strings.fromByteArray(string); in getString()
|
D | DERIA5String.java | 36 return (DERIA5String)fromByteArray((byte[])obj); in getInstance() 119 return Strings.fromByteArray(string); in getString()
|
D | DERNumericString.java | 36 return (DERNumericString)fromByteArray((byte[])obj); in getInstance() 113 return Strings.fromByteArray(string); in getString()
|
D | DERPrintableString.java | 38 return (DERPrintableString)fromByteArray((byte[])obj); in getInstance() 115 return Strings.fromByteArray(string); in getString()
|
D | ASN1Primitive.java | 23 public static ASN1Primitive fromByteArray(byte[] data) in fromByteArray() method in ASN1Primitive
|
D | ASN1Null.java | 43 return ASN1Null.getInstance(ASN1Primitive.fromByteArray((byte[])o)); in getInstance()
|
D | DERUTF8String.java | 36 return (DERUTF8String)fromByteArray((byte[])obj); in getInstance()
|
D | ASN1OctetString.java | 148 return ASN1OctetString.getInstance(ASN1Primitive.fromByteArray((byte[])obj)); in getInstance()
|
D | ASN1Integer.java | 35 return (ASN1Integer)fromByteArray((byte[])obj); in getInstance()
|
D | DERBMPString.java | 35 return (DERBMPString)fromByteArray((byte[])obj); in getInstance()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | JcaJceUtils.java | 43 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 47 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | IvAlgorithmParameters.java | 76 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit() 93 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | CharsTest.java | 220 assertEquals('\u2345', Chars.fromByteArray( in testFromByteArray() 222 assertEquals('\uFEDC', Chars.fromByteArray( in testFromByteArray() 226 Chars.fromByteArray(new byte[Chars.BYTES - 1]); in testFromByteArray() 243 char result = Chars.fromByteArray(new byte[]{(byte) hi, (byte) lo}); in testByteArrayRoundTrips() 257 Chars.fromByteArray(new byte[] {0x11}); in testByteArrayRoundTrips()
|
D | ShortsTest.java | 240 Shorts.fromByteArray(new byte[] {0x23, 0x45})); in testFromByteArray() 241 assertEquals((short) 0xFEDC, Shorts.fromByteArray( in testFromByteArray() 245 Shorts.fromByteArray(new byte[] {0x01}); in testFromByteArray() 265 assertEquals(num, Shorts.fromByteArray(Shorts.toByteArray(num))); in testByteArrayRoundTrips() 269 Shorts.toByteArray(Shorts.fromByteArray(b)))); in testByteArrayRoundTrips()
|
D | LongsTest.java | 211 assertEquals(0x1213141516171819L, Longs.fromByteArray( in testFromByteArray() 213 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromByteArray( in testFromByteArray() 219 Longs.fromByteArray(new byte[Longs.BYTES - 1]); in testFromByteArray() 241 assertEquals(num, Longs.fromByteArray(Longs.toByteArray(num))); in testByteArrayRoundTrips() 244 long value = Longs.fromByteArray(b); in testByteArrayRoundTrips()
|
D | IntsTest.java | 232 Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})); in testFromByteArray() 233 assertEquals(0xFFEEDDCC, Ints.fromByteArray( in testFromByteArray() 237 Ints.fromByteArray(new byte[Ints.BYTES - 1]); in testFromByteArray() 259 assertEquals(num, Ints.fromByteArray(Ints.toByteArray(num))); in testByteArrayRoundTrips() 262 assertTrue(Arrays.equals(b, Ints.toByteArray(Ints.fromByteArray(b)))); in testByteArrayRoundTrips()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | LongsTest.java | 199 assertEquals(0x1213141516171819L, Longs.fromByteArray( in testFromByteArray() 201 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromByteArray( in testFromByteArray() 207 Longs.fromByteArray(new byte[Longs.BYTES - 1]); in testFromByteArray() 229 assertEquals(num, Longs.fromByteArray(Longs.toByteArray(num))); in testByteArrayRoundTrips() 232 long value = Longs.fromByteArray(b); in testByteArrayRoundTrips()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
D | X509ExtensionUtil.java | 30 ASN1OctetString octs = (ASN1OctetString)ASN1Primitive.fromByteArray(encodedValue); in fromExtensionValue() 32 return ASN1Primitive.fromByteArray(octs.getOctets()); in fromExtensionValue()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | AlgorithmParametersSpi.java | 98 DSAParameter dsaP = DSAParameter.getInstance(ASN1Primitive.fromByteArray(params)); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPKCS12.java | 83 this.params = PKCS12PBEParams.getInstance(ASN1Primitive.fromByteArray(params)); in engineInit()
|