Searched refs:oid (Results 51 - 75 of 152) sorted by relevance

1234567

/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
H A DOidTest.java108 Oid oid= new Oid("1.2.1.2.1");
115 assertTrue(oid.containedIn(oidArr) );
118 oid.containedIn(null);
125 * Oid constructor Oid(String oid) is tested in case when
126 * string oid contains a subidentifier with leading zero
143 * Oid constructor Oid(String oid) is tested in case when
144 * an invalid oid string is passed as a parameter
162 "oid.2.2.1", // oid prefix
171 fail("No expected GSSException for oid strin
[all...]
/external/openssh/
H A Dgss-serv.c85 gss_add_oid_set_member(&status, ctx->oid, &oidset);
107 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) argument
112 ssh_gssapi_set_oid(*ctx, oid);
130 &supported_mechs[i]->oid, supported, &present)))
134 &supported_mechs[i]->oid, oidset);
144 * oid
258 if (supported_mechs[i]->oid.length == ctx->oid->length &&
259 (memcmp(supported_mechs[i]->oid.elements,
260 ctx->oid
[all...]
H A Dssh-gss.h81 gss_OID_desc oid; member in struct:ssh_gssapi_mech_struct
93 gss_OID oid; /* client */ member in struct:__anon9679
/external/openssl/crypto/asn1/
H A Dasn_moid.c114 ASN1_OBJECT *oid; local
153 oid = OBJ_nid2obj(nid);
154 oid->ln = lntmp;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
H A DRSA.java198 ASN1ObjectIdentifier oid)
216 if (oid != null)
218 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName);
219 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName);
194 addDigestSignature( ConfigurableProvider provider, String digest, String className, ASN1ObjectIdentifier oid) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DBCRSAPrivateKey.java110 ASN1ObjectIdentifier oid,
113 attrCarrier.setBagAttribute(oid, attribute);
117 DERObjectIdentifier oid)
119 return attrCarrier.getBagAttribute(oid);
109 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
116 getBagAttribute( DERObjectIdentifier oid) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCERSAPrivateKey.java110 ASN1ObjectIdentifier oid,
113 attrCarrier.setBagAttribute(oid, attribute);
117 DERObjectIdentifier oid)
119 return attrCarrier.getBagAttribute(oid);
109 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
116 getBagAttribute( DERObjectIdentifier oid) argument
H A DX509CRLObject.java138 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement();
139 Extension ext = extensions.getExtension(oid);
143 set.add(oid.getId());
164 public byte[] getExtensionValue(String oid) argument
170 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid));
433 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) e.nextElement();
434 Extension ext = extensions.getExtension(oid);
444 if (oid.equals(Extension.cRLNumber))
451 else if (oid.equals(Extension.deltaCRLIndicator))
459 else if (oid
[all...]
H A DJCEDHPrivateKey.java172 ASN1ObjectIdentifier oid,
175 attrCarrier.setBagAttribute(oid, attribute);
179 DERObjectIdentifier oid)
181 return attrCarrier.getBagAttribute(oid);
171 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
178 getBagAttribute( DERObjectIdentifier oid) argument
H A DJDKDSAPrivateKey.java142 ASN1ObjectIdentifier oid,
145 attrCarrier.setBagAttribute(oid, attribute);
149 DERObjectIdentifier oid)
151 return attrCarrier.getBagAttribute(oid);
141 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
148 getBagAttribute( DERObjectIdentifier oid) argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
H A DX509CRLEntryHolder.java86 * @param oid the OID of the extension of interest.
90 public Extension getExtension(ASN1ObjectIdentifier oid) argument
96 return extensions.getExtension(oid);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
H A DRDN.java39 * @param oid RDN type.
42 public RDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument
46 v.add(oid);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBESecretKeyFactory.java24 DERObjectIdentifier oid,
31 super(algorithm, oid);
22 PBESecretKeyFactory( String algorithm, DERObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_vs.c93 ** given tNFC_VS_CBACK as (oid).
95 ** Parameters oid - The opcode of the VS command.
101 tNFC_STATUS NFC_SendVsCommand (UINT8 oid, argument
136 NCI_MSG_BLD_HDR1 (pp, oid);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509V2AttributeCertificate.java208 public byte[] getExtensionValue(String oid) argument
214 Extension ext = extensions.getExtension(new ASN1ObjectIdentifier(oid));
244 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement();
245 Extension ext = extensions.getExtension(oid);
249 set.add(oid.getId());
289 public X509Attribute[] getAttributes(String oid) argument
297 if (attr.getOID().equals(oid))
/external/openssl/crypto/x509v3/
H A Dpcy_node.c175 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid)
184 if (!OBJ_cmp(x->valid_policy, oid))
192 if (!OBJ_cmp(policy_oid, oid))
174 policy_node_match(const X509_POLICY_LEVEL *lvl, const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) argument
H A Dpcy_tree.c83 ASN1_OBJECT *oid; local
87 oid = sk_ASN1_OBJECT_value(pset, i);
90 i2a_ASN1_OBJECT(err, oid);
429 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(expset, i); local
430 if (level_find_node(curr, node, oid))
432 if (!tree_add_unmatched(curr, cache, oid, node, tree))
638 ASN1_OBJECT *oid; local
654 oid = sk_ASN1_OBJECT_value(policy_oids, i);
655 if (OBJ_obj2nid(oid) == NID_any_policy)
664 oid
[all...]
/external/chromium/net/http/
H A Dhttp_auth_gssapi_posix.cc213 std::string AppendIfPredefinedValue(gss_OID oid, argument
216 DCHECK(oid);
220 if (oid->length != predefined_oid->length)
222 if (0 != memcmp(oid->elements,
235 std::string DescribeOid(GSSAPILibrary* gssapi_lib, const gss_OID oid) { argument
236 if (!oid)
240 OM_uint32 byte_length = oid->length;
246 const char* str = reinterpret_cast<const char*>(oid);
263 if (!oid->elements) {
268 reinterpret_cast<const unsigned char*>(oid
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DDefaultCMSSignatureAlgorithmNameGenerator.java150 * @param oid object identifier to map.
153 protected void setSigningEncryptionAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) argument
155 encryptionAlgs.put(oid, algorithmName);
162 * @param oid object identifier to map.
165 protected void setSigningDigestAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) argument
167 digestAlgs.put(oid, algorithmName);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
H A DBCDSAPrivateKey.java131 ASN1ObjectIdentifier oid,
134 attrCarrier.setBagAttribute(oid, attribute);
138 DERObjectIdentifier oid)
140 return attrCarrier.getBagAttribute(oid);
130 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
137 getBagAttribute( DERObjectIdentifier oid) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
H A DX962NamedCurves.java526 static void defineCurve(String name, ASN1ObjectIdentifier oid, X9ECParametersHolder holder) argument
528 objIds.put(name, oid);
529 names.put(oid, name);
530 curves.put(oid, holder);
563 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toLowerCase(name));
565 if (oid != null)
567 return getByOID(oid);
577 * @param oid an object identifier representing a named curve, if present.
580 ASN1ObjectIdentifier oid)
582 X9ECParametersHolder holder = (X9ECParametersHolder)curves.get(oid);
579 getByOID( ASN1ObjectIdentifier oid) argument
607 getName( ASN1ObjectIdentifier oid) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
H A DIETFUtils.java39 ASN1ObjectIdentifier oid = x500Style.attrNameToOID(attr);
49 oids.addElement(oid);
68 builder.addRDN(oid, value);
112 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)lookUp.get(Strings.toLowerCase(name));
113 if (oid == null)
118 return oid;
H A DBCStyle.java281 public ASN1Encodable stringToValue(ASN1ObjectIdentifier oid, String value) argument
291 throw new RuntimeException("can't recode value for oid " + oid.getId());
300 if (oid.equals(EmailAddress) || oid.equals(DC))
304 else if (oid.equals(DATE_OF_BIRTH)) // accept time string as well as # (for compatibility)
308 else if (oid.equals(C) || oid.equals(SN) || oid.equals(DN_QUALIFIER)
309 || oid
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DX509Name.java529 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)this.ordering.elementAt(i);
531 if (attributes.get(oid) == null)
533 throw new IllegalArgumentException("No attribute for object id - " + oid.getId() + " - passed to distinguished name");
536 this.values.addElement(attributes.get(oid)); // copy the hash table
671 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)lookUp.get(Strings.toLowerCase(name));
672 if (oid == null)
677 return oid;
716 ASN1ObjectIdentifier oid = decodeOID(name, lookUp);
723 this.ordering.addElement(oid);
741 this.ordering.addElement(oid);
814 getValues( ASN1ObjectIdentifier oid) argument
1142 appendValue( StringBuffer buf, Hashtable oidSymbols, ASN1ObjectIdentifier oid, String value) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
H A DDES.java310 private void addAlias(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name) argument
312 provider.addAlgorithm("Alg.Alias.KeyGenerator." + oid.getId(), name);
313 provider.addAlgorithm("Alg.Alias.KeyFactory." + oid.getId(), name);

Completed in 1830 milliseconds

1234567