Searched defs:obj (Results 101 - 125 of 1735) sorted by relevance

1234567891011>>

/external/autotest/frontend/client/src/autotest/common/table/
H A DJSONObjectSet.java27 protected String getKey(Object obj) { argument
28 return ((JSONObject) obj).get("id").toString();
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
H A DAttributeCertificateIssuer.java90 public boolean equals(Object obj) argument
92 if (obj == this)
97 if (!(obj instanceof AttributeCertificateIssuer))
102 AttributeCertificateIssuer other = (AttributeCertificateIssuer)obj;
112 public boolean match(Object obj) argument
114 if (!(obj instanceof X509CertificateHolder))
119 X509CertificateHolder x509Cert = (X509CertificateHolder)obj;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1EncodableVector.java23 * @param obj the encodable to add.
25 public void add(ASN1Encodable obj) argument
27 v.addElement(obj);
H A DASN1Object.java97 * Return true if obj is a byte array and represents an object with the given tag value.
99 * @param obj object of interest.
101 * @return true if obj is a byte encoding starting with the given tag value, false otherwise.
103 protected static boolean hasEncodedTagValue(Object obj, int tagValue) argument
105 return (obj instanceof byte[]) && ((byte[])obj)[0] == tagValue;
H A DBERConstructedOctetString.java65 ASN1Primitive obj)
67 super(toByteArray(obj));
70 private static byte[] toByteArray(ASN1Primitive obj) argument
74 return obj.getEncoded();
83 ASN1Encodable obj)
85 this(obj.toASN1Primitive());
64 BERConstructedOctetString( ASN1Primitive obj) argument
82 BERConstructedOctetString( ASN1Encodable obj) argument
H A DBERTaggedObject.java16 * @param obj the tagged object.
20 ASN1Encodable obj)
22 super(true, tagNo, obj);
28 * @param obj the tagged object.
33 ASN1Encodable obj)
35 super(explicit, tagNo, obj);
58 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
74 ASN1Primitive primitive = obj.toASN1Primitive();
107 if (obj instanceof ASN1OctetString)
109 if (obj instanceo
18 BERTaggedObject( int tagNo, ASN1Encodable obj) argument
30 BERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
[all...]
H A DDEROctetString.java25 * @param obj the object to be encoded.
28 ASN1Encodable obj)
31 super(obj.toASN1Primitive().getEncoded(ASN1Encoding.DER));
27 DEROctetString( ASN1Encodable obj) argument
H A DDERSequence.java20 * @param obj the object to go in the sequence.
23 ASN1Encodable obj)
25 super(obj);
57 Object obj = e.nextElement();
59 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
96 Object obj = e.nextElement();
98 dOut.writeObject((ASN1Encodable)obj);
22 DERSequence( ASN1Encodable obj) argument
H A DDERSet.java23 * @param obj the object to go in the set
26 ASN1Encodable obj)
28 super(obj);
67 Object obj = e.nextElement();
69 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
106 Object obj = e.nextElement();
108 dOut.writeObject((ASN1Encodable)obj);
25 DERSet( ASN1Encodable obj) argument
H A DDERTaggedObject.java18 * @param obj the tagged object.
23 ASN1Encodable obj)
25 super(explicit, tagNo, obj);
43 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
59 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
86 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
20 DERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
H A DDLSequence.java23 * @param obj the object to go in the sequence.
26 ASN1Encodable obj)
28 super(obj);
60 Object obj = e.nextElement();
62 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
99 Object obj = e.nextElement();
101 dOut.writeObject((ASN1Encodable)obj);
25 DLSequence( ASN1Encodable obj) argument
H A DDLSet.java67 * @param obj - a single object that makes up the set.
70 ASN1Encodable obj)
72 super(obj);
102 Object obj = e.nextElement();
104 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
141 Object obj = e.nextElement();
143 dOut.writeObject((ASN1Encodable)obj);
69 DLSet( ASN1Encodable obj) argument
H A DDLTaggedObject.java18 * @param obj the tagged object.
23 ASN1Encodable obj)
25 super(explicit, tagNo, obj);
38 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject();
54 int length = obj.toASN1Primitive().toDLObject().encodedLength();
80 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject();
20 DLTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DAttributes.java49 * @param obj the object we want converted.
52 public static Attributes getInstance(Object obj) argument
54 if (obj instanceof Attributes)
56 return (Attributes)obj;
58 else if (obj != null)
60 return new Attributes(ASN1Set.getInstance(obj));
H A DContentInfo.java46 * @param obj the object we want converted.
50 Object obj)
52 if (obj instanceof ContentInfo)
54 return (ContentInfo)obj;
56 else if (obj != null)
58 return new ContentInfo(ASN1Sequence.getInstance(obj));
65 ASN1TaggedObject obj,
68 return getInstance(ASN1Sequence.getInstance(obj, explicit));
49 getInstance( Object obj) argument
64 getInstance( ASN1TaggedObject obj, boolean explicit) argument
H A DGCMParameters.java38 * @param obj the object we want converted.
42 Object obj)
44 if (obj instanceof GCMParameters)
46 return (GCMParameters)obj;
48 else if (obj != null)
50 return new GCMParameters(ASN1Sequence.getInstance(obj));
41 getInstance( Object obj) argument
H A DIssuerAndSerialNumber.java44 * @param obj the object we want converted.
48 Object obj)
50 if (obj instanceof IssuerAndSerialNumber)
52 return (IssuerAndSerialNumber)obj;
54 else if (obj != null)
56 return new IssuerAndSerialNumber(ASN1Sequence.getInstance(obj));
47 getInstance( Object obj) argument
H A DTime.java43 ASN1TaggedObject obj,
46 return getInstance(obj.getObject());
140 * @param obj the object we want converted.
144 Object obj)
146 if (obj == null || obj instanceof Time)
148 return (Time)obj;
150 else if (obj instanceof ASN1UTCTime)
152 return new Time((ASN1UTCTime)obj);
154 else if (obj instanceo
42 getInstance( ASN1TaggedObject obj, boolean explicit) argument
143 getInstance( Object obj) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
H A DCertStatus.java64 Object obj)
66 if (obj == null || obj instanceof CertStatus)
68 return (CertStatus)obj;
70 else if (obj instanceof ASN1TaggedObject)
72 return new CertStatus((ASN1TaggedObject)obj);
75 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
79 ASN1TaggedObject obj,
82 return getInstance(obj.getObject()); // must be explicitly tagged
63 getInstance( Object obj) argument
78 getInstance( ASN1TaggedObject obj, boolean explicit) argument
H A DCrlID.java51 Object obj)
53 if (obj instanceof CrlID)
55 return (CrlID)obj;
57 else if (obj != null)
59 return new CrlID(ASN1Sequence.getInstance(obj));
50 getInstance( Object obj) argument
H A DOCSPRequest.java38 ASN1TaggedObject obj,
41 return getInstance(ASN1Sequence.getInstance(obj, explicit));
45 Object obj)
47 if (obj instanceof OCSPRequest)
49 return (OCSPRequest)obj;
51 else if (obj != null)
53 return new OCSPRequest(ASN1Sequence.getInstance(obj));
37 getInstance( ASN1TaggedObject obj, boolean explicit) argument
44 getInstance( Object obj) argument
H A DOCSPResponse.java38 ASN1TaggedObject obj,
41 return getInstance(ASN1Sequence.getInstance(obj, explicit));
45 Object obj)
47 if (obj instanceof OCSPResponse)
49 return (OCSPResponse)obj;
51 else if (obj != null)
53 return new OCSPResponse(ASN1Sequence.getInstance(obj));
37 getInstance( ASN1TaggedObject obj, boolean explicit) argument
44 getInstance( Object obj) argument
H A DOCSPResponseStatus.java48 Object obj)
50 if (obj instanceof OCSPResponseStatus)
52 return (OCSPResponseStatus)obj;
54 else if (obj != null)
56 return new OCSPResponseStatus(ASN1Enumerated.getInstance(obj));
47 getInstance( Object obj) argument
H A DRequest.java39 ASN1TaggedObject obj,
42 return getInstance(ASN1Sequence.getInstance(obj, explicit));
46 Object obj)
48 if (obj instanceof Request)
50 return (Request)obj;
52 else if (obj != null)
54 return new Request(ASN1Sequence.getInstance(obj));
38 getInstance( ASN1TaggedObject obj, boolean explicit) argument
45 getInstance( Object obj) argument
H A DResponderID.java32 Object obj)
34 if (obj instanceof ResponderID)
36 return (ResponderID)obj;
38 else if (obj instanceof DEROctetString)
40 return new ResponderID((DEROctetString)obj);
42 else if (obj instanceof ASN1TaggedObject)
44 ASN1TaggedObject o = (ASN1TaggedObject)obj;
56 return new ResponderID(X500Name.getInstance(obj));
60 ASN1TaggedObject obj,
63 return getInstance(obj
31 getInstance( Object obj) argument
59 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]

Completed in 235 milliseconds

1234567891011>>