Home
last modified time | relevance | path

Searched refs:octs (Results 1 – 25 of 34) sorted by relevance

12

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DBEROctetString.java30 private final ASN1OctetString[] octs; field in BEROctetString
36 ASN1OctetString[] octs) in toBytes() argument
40 for (int i = 0; i != octs.length; i++) in toBytes()
44 DEROctetString o = (DEROctetString)octs[i]; in toBytes()
50 …throw new IllegalArgumentException(octs[i].getClass().getName() + " found in input should only con… in toBytes()
78 ASN1OctetString[] octs) in BEROctetString() argument
80 this(octs, DEFAULT_LENGTH); in BEROctetString()
103 ASN1OctetString[] octs, in BEROctetString() argument
106 this(toBytes(octs), octs, chunkSize); in BEROctetString()
109 private BEROctetString(byte[] string, ASN1OctetString[] octs, int chunkSize) in BEROctetString() argument
[all …]
DBERConstructedOctetString.java22 Vector octs) in toBytes() argument
26 for (int i = 0; i != octs.size(); i++) in toBytes()
30 DEROctetString o = (DEROctetString)octs.elementAt(i); in toBytes()
36 …throw new IllegalArgumentException(octs.elementAt(i).getClass().getName() + " found in input shoul… in toBytes()
47 private Vector octs; field in BERConstructedOctetString
59 Vector octs) in BERConstructedOctetString() argument
61 super(toBytes(octs)); in BERConstructedOctetString()
63 this.octs = octs; in BERConstructedOctetString()
100 if (octs == null) in getObjects()
105 return octs.elements(); in getObjects()
DBERTaggedObject.java117 ASN1OctetString octs = (ASN1OctetString)obj; in encode() local
118 BEROctetString berO = new BEROctetString(octs.getOctets()); in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DBEROctetString.java28 private final ASN1OctetString[] octs; field in BEROctetString
34 ASN1OctetString[] octs) in toBytes() argument
38 for (int i = 0; i != octs.length; i++) in toBytes()
42 DEROctetString o = (DEROctetString)octs[i]; in toBytes()
48 …throw new IllegalArgumentException(octs[i].getClass().getName() + " found in input should only con… in toBytes()
76 ASN1OctetString[] octs) in BEROctetString() argument
78 this(octs, DEFAULT_LENGTH); in BEROctetString()
101 ASN1OctetString[] octs, in BEROctetString() argument
104 this(toBytes(octs), octs, chunkSize); in BEROctetString()
107 private BEROctetString(byte[] string, ASN1OctetString[] octs, int chunkSize) in BEROctetString() argument
[all …]
DBERConstructedOctetString.java20 Vector octs) in toBytes() argument
24 for (int i = 0; i != octs.size(); i++) in toBytes()
28 DEROctetString o = (DEROctetString)octs.elementAt(i); in toBytes()
34 …throw new IllegalArgumentException(octs.elementAt(i).getClass().getName() + " found in input shoul… in toBytes()
45 private Vector octs; field in BERConstructedOctetString
57 Vector octs) in BERConstructedOctetString() argument
59 super(toBytes(octs)); in BERConstructedOctetString()
61 this.octs = octs; in BERConstructedOctetString()
98 if (octs == null) in getObjects()
103 return octs.elements(); in getObjects()
DBERTaggedObject.java115 ASN1OctetString octs = (ASN1OctetString)obj; in encode() local
116 BEROctetString berO = new BEROctetString(octs.getOctets()); in encode()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPRespBuilder.java39 ASN1OctetString octs; in build() local
43 octs = new DEROctetString(r.getEncoded()); in build()
51 OCSPObjectIdentifiers.id_pkix_ocsp_basic, octs); in build()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedDataGenerator.java141 ASN1OctetString octs = null; in generate() local
170 octs = new BEROctetString(bOut.toByteArray()); in generate()
204 ContentInfo encInfo = new ContentInfo(contentTypeOID, octs); in generate()
DSignerInformation.java73 ASN1OctetString octs = ASN1OctetString.getInstance(s.getId()); in SignerInformation() local
75 sid = new SignerId(octs.getOctets()); in SignerInformation()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DECPrivateKeyStructure.java82 ASN1OctetString octs = (ASN1OctetString)seq.getObjectAt(1); in getKey() local
84 return new BigInteger(1, octs.getOctets()); in getKey()
DECPrivateKey.java136 ASN1OctetString octs = (ASN1OctetString)seq.getObjectAt(1); in getKey() local
138 return new BigInteger(1, octs.getOctets()); in getKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/
DECPrivateKeyStructure.java84 ASN1OctetString octs = (ASN1OctetString)seq.getObjectAt(1); in getKey() local
86 return new BigInteger(1, octs.getOctets()); in getKey()
DECPrivateKey.java138 ASN1OctetString octs = (ASN1OctetString)seq.getObjectAt(1); in getKey() local
140 return new BigInteger(1, octs.getOctets()); in getKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java36 ASN1OctetString octs = (ASN1OctetString)ASN1Primitive.fromByteArray(encodedValue); in fromExtensionValue() local
38 return ASN1Primitive.fromByteArray(octs.getOctets()); in fromExtensionValue()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java38 ASN1OctetString octs = (ASN1OctetString)ASN1Primitive.fromByteArray(encodedValue); in fromExtensionValue() local
40 return ASN1Primitive.fromByteArray(octs.getOctets()); in fromExtensionValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java283 byte[] octs = ext.getExtnValue().getOctets(); in toString()
284 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CRLObject.java496 byte[] octs = ext.getExtnValue().getOctets(); in toString()
497 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CertificateObject.java690 byte[] octs = ext.getExtnValue().getOctets(); in toString()
691 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java284 byte[] octs = ext.getExtnValue().getOctets(); in toString()
285 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CRLObject.java479 byte[] octs = ext.getExtnValue().getOctets(); in toString()
480 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java284 byte[] octs = ext.getExtnValue().getOctets(); in toString()
285 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CRLObject.java497 byte[] octs = ext.getExtnValue().getOctets(); in toString()
498 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java286 byte[] octs = ext.getExtnValue().getOctets(); in toString()
287 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CRLObject.java481 byte[] octs = ext.getExtnValue().getOctets(); in toString()
482 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
/external/mksh/src/
Dmisc.c163 size_t n = 0, len, octs = 0; in printoptions() local
174 if (len > octs) in printoptions()
175 octs = len; in printoptions()
186 octs + 4, oi.opt_width + 4); in printoptions()

12