Home
last modified time | relevance | path

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

12

/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/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 bOut.write(octs[i].getOctets()); in toBytes()
72 ASN1OctetString[] octs) in BEROctetString() argument
74 this(octs, DEFAULT_CHUNK_SIZE); in BEROctetString()
97 ASN1OctetString[] octs, in BEROctetString() argument
100 this(toBytes(octs), octs, chunkSize); in BEROctetString()
103 private BEROctetString(byte[] string, ASN1OctetString[] octs, int chunkSize) in BEROctetString() argument
106 this.octs = octs; in BEROctetString()
[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.java90 ASN1OctetString octs = (ASN1OctetString)obj; in encode() local
91 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 bOut.write(octs[i].getOctets()); in toBytes()
70 ASN1OctetString[] octs) in BEROctetString() argument
72 this(octs, DEFAULT_CHUNK_SIZE); in BEROctetString()
95 ASN1OctetString[] octs, in BEROctetString() argument
98 this(toBytes(octs), octs, chunkSize); in BEROctetString()
101 private BEROctetString(byte[] string, ASN1OctetString[] octs, int chunkSize) in BEROctetString() argument
104 this.octs = octs; in BEROctetString()
[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.java88 ASN1OctetString octs = (ASN1OctetString)obj; in encode() local
89 BEROctetString berO = new BEROctetString(octs.getOctets()); in encode()
/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 bOut.write(octs[i].getOctets()); in toBytes()
72 ASN1OctetString[] octs) in BEROctetString() argument
74 this(octs, DEFAULT_CHUNK_SIZE); in BEROctetString()
97 ASN1OctetString[] octs, in BEROctetString() argument
100 this(toBytes(octs), octs, chunkSize); in BEROctetString()
103 private BEROctetString(byte[] string, ASN1OctetString[] octs, int chunkSize) in BEROctetString() argument
106 this.octs = octs; in BEROctetString()
[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.java90 ASN1OctetString octs = (ASN1OctetString)obj; in encode() local
91 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/bcprov/src/main/java/org/bouncycastle/its/asn1/
DLinkageValue.java19 private LinkageValue(ASN1OctetString octs) in LinkageValue() argument
21 this.value = Arrays.clone(Utils.octetStringFixed(octs.getOctets(), 9)); in LinkageValue()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/its/asn1/
DLinkageValue.java21 private LinkageValue(ASN1OctetString octs) in LinkageValue() argument
23 this.value = Arrays.clone(Utils.octetStringFixed(octs.getOctets(), 9)); in LinkageValue()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/its/asn1/
DLinkageValue.java21 private LinkageValue(ASN1OctetString octs) in LinkageValue() argument
23 this.value = Arrays.clone(Utils.octetStringFixed(octs.getOctets(), 9)); in LinkageValue()
/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()
/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/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/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/repackaged_platform/bcprov/src/main/java/com/android/internal/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/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/repackaged_platform/bcprov/src/main/java/com/android/internal/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/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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java292 byte[] octs = ext.getExtnValue().getOctets(); in toString()
293 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()

12