Searched refs:oid (Results 1 – 5 of 5) sorted by relevance
20 import static com.android.apksig.internal.oid.OidConstants.OID_DIGEST_SHA1;21 import static com.android.apksig.internal.oid.OidConstants.OID_DIGEST_SHA256;22 import static com.android.apksig.internal.oid.OidConstants.OID_SIG_DSA;23 import static com.android.apksig.internal.oid.OidConstants.OID_SIG_EC_PUBLIC_KEY;24 import static com.android.apksig.internal.oid.OidConstants.OID_SIG_RSA;25 import static com.android.apksig.internal.oid.OidConstants.OID_SIG_SHA256_WITH_DSA;26 import static com.android.apksig.internal.oid.OidConstants.OID_TO_JCA_DIGEST_ALG;27 import static com.android.apksig.internal.oid.OidConstants.OID_TO_JCA_SIGNATURE_ALG;161 public static String getJcaDigestAlgorithm(String oid) in getJcaDigestAlgorithm() argument163 String result = OID_TO_JCA_DIGEST_ALG.get(oid); in getJcaDigestAlgorithm()[all …]
237 public String oid; field in Asn1DerEncoderTest.SequenceWithOid239 public SequenceWithOid(String oid) { in SequenceWithOid() argument240 this.oid = oid; in SequenceWithOid()273 public String oid; field in Asn1DerEncoderTest.Choice275 public Choice(Integer num, String oid) { in Choice() argument277 this.oid = oid; in Choice()284 public static Choice of(String oid) { in of() argument285 return new Choice(null, oid); in of()307 public String oid; field in Asn1DerEncoderTest.Sequence312 public Sequence(BigInteger num, String oid, byte[] octets) { in Sequence() argument[all …]
120 assertEquals("2.100.3", parse("30050603813403", SequenceWithOid.class).oid); in testOid()123 parse("300b0609608648016503040201", SequenceWithOid.class).oid); in testOid()184 assertNull(c.oid); in testChoiceWithDifferentTypedOptions()189 assertEquals("0.0", c.oid); in testChoiceWithDifferentTypedOptions()340 public String oid; field in Asn1BerParserTest.SequenceWithOid372 public String oid; field in Asn1BerParserTest.ChoiceWithTwoOptions
269 private static byte[] toOid(String oid) throws Asn1EncodingException { in toOid() argument271 String[] nodes = oid.split("\\."); in toOid()274 "OBJECT IDENTIFIER must contain at least two nodes: " + oid); in toOid()
19 import static com.android.apksig.internal.oid.OidConstants.getSigAlgSupportedApiLevels;36 import com.android.apksig.internal.oid.OidConstants;