Searched refs:oid (Results 1 – 5 of 5) sorted by relevance
165 public String oid; field in Asn1DerEncoderTest.SequenceWithOid167 public SequenceWithOid(String oid) { in SequenceWithOid() argument168 this.oid = oid; in SequenceWithOid()190 public String oid; field in Asn1DerEncoderTest.Choice192 public Choice(Integer num, String oid) { in Choice() argument194 this.oid = oid; in Choice()201 public static Choice of(String oid) { in of() argument202 return new Choice(null, oid); in of()224 public String oid; field in Asn1DerEncoderTest.Sequence229 public Sequence(BigInteger num, String oid, byte[] octets) { in Sequence() argument[all …]
87 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.SequenceWithOid330 public String oid; field in Asn1BerParserTest.ChoiceWithTwoOptions
58 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument59 return mDelegate.getExtensionValue(oid); in getExtensionValue()
223 private static byte[] toOid(String oid) throws Asn1EncodingException { in toOid() argument225 String[] nodes = oid.split("\\."); in toOid()228 "OBJECT IDENTIFIER must contain at least two nodes: " + oid); in toOid()
1227 public static String getUserFriendlyNameForOid(String oid) { in getUserFriendlyNameForOid() argument1228 return OID_TO_USER_FRIENDLY_NAME.get(oid); in getUserFriendlyNameForOid()1242 private static String getJcaDigestAlgorithm(String oid) in getJcaDigestAlgorithm() argument1244 String result = OID_TO_JCA_DIGEST_ALG.get(oid); in getJcaDigestAlgorithm()1246 throw new SignatureException("Unsupported digest algorithm: " + oid); in getJcaDigestAlgorithm()