Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1DerEncoderTest.java165 public String oid; field in Asn1DerEncoderTest.SequenceWithOid
167 public SequenceWithOid(String oid) { in SequenceWithOid() argument
168 this.oid = oid; in SequenceWithOid()
190 public String oid; field in Asn1DerEncoderTest.Choice
192 public Choice(Integer num, String oid) { in Choice() argument
194 this.oid = oid; in Choice()
201 public static Choice of(String oid) { in of() argument
202 return new Choice(null, oid); in of()
224 public String oid; field in Asn1DerEncoderTest.Sequence
229 public Sequence(BigInteger num, String oid, byte[] octets) { in Sequence() argument
[all …]
DAsn1BerParserTest.java87 assertEquals("2.100.3", parse("30050603813403", SequenceWithOid.class).oid); in testOid()
90 parse("300b0609608648016503040201", SequenceWithOid.class).oid); in testOid()
142 assertNull(c.oid); in testChoiceWithDifferentTypedOptions()
147 assertEquals("0.0", c.oid); in testChoiceWithDifferentTypedOptions()
298 public String oid; field in Asn1BerParserTest.SequenceWithOid
330 public String oid; field in Asn1BerParserTest.ChoiceWithTwoOptions
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DDelegatingX509Certificate.java58 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument
59 return mDelegate.getExtensionValue(oid); in getExtensionValue()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java223 private static byte[] toOid(String oid) throws Asn1EncodingException { in toOid() argument
225 String[] nodes = oid.split("\\."); in toOid()
228 "OBJECT IDENTIFIER must contain at least two nodes: " + oid); in toOid()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1227 public static String getUserFriendlyNameForOid(String oid) { in getUserFriendlyNameForOid() argument
1228 return OID_TO_USER_FRIENDLY_NAME.get(oid); in getUserFriendlyNameForOid()
1242 private static String getJcaDigestAlgorithm(String oid) in getJcaDigestAlgorithm() argument
1244 String result = OID_TO_JCA_DIGEST_ALG.get(oid); in getJcaDigestAlgorithm()
1246 throw new SignatureException("Unsupported digest algorithm: " + oid); in getJcaDigestAlgorithm()