@Test public void testSequenceEntityDecoderProvideMoreData() throws NoSuchAlgorithmException { byte[] more = Arrays.copyOf(sequence, sequence.length * 2); DatagramReader reader = new DatagramReader(more); byte[] sequenceEntity = Asn1DerDecoder.readSequenceEntity(reader); assertThat(sequenceEntity, is(sequence)); }
public static byte[] readSequenceEntity(final DatagramReader reader) { return SEQUENCE.readEntity(reader); }
Asn1DerDecoder { public static byte[] readSequenceEntity(final DatagramReader reader) { return SEQUENCE.readEntity(reader); } }
Asn1DerDecoder { public static byte[] readSequenceEntity(final DatagramReader reader) { return SEQUENCE.readEntity(reader); }  }
Asn1DerDecoder { public static byte[] readSequenceEntity(final DatagramReader reader) { return SEQUENCE.readEntity(reader); }  static Provider getEdDsaProvider(); static boolean isSupported(String algorithm); static byte[] readSequenceEntity(final DatagramReader reader); static byte[] readSequenceValue(final DatagramReader reader); static byte[] readOidValue(final DatagramReader reader); static String readOidString(final DatagramReader reader); static String readSubjectPublicKeyAlgorithm(final byte[] data); static PublicKey readSubjectPublicKey(final byte[] data); static String readPrivateKeyAlgorithm(final byte[] data); static Keys readPrivateKey(final byte[] data); static Keys readEcPrivateKeyV2(final byte[] data); static ECPublicKey readEcPublicKey(DatagramReader reader, ECParameterSpec ecParameterSpec); static PrivateKey ensureEdDsaPrivateKeyProvider(PrivateKey privateKey); static boolean equalKeyAlgorithmSynonyms(String keyAlgorithm1, String keyAlgorithm2); static ECParameterSpec getECParameterSpec(String oid); static String getEdDsaStandardAlgorithmName(String algorithm, String def); }
Asn1DerDecoder { public static byte[] readSequenceEntity(final DatagramReader reader) { return SEQUENCE.readEntity(reader); }  static Provider getEdDsaProvider(); static boolean isSupported(String algorithm); static byte[] readSequenceEntity(final DatagramReader reader); static byte[] readSequenceValue(final DatagramReader reader); static byte[] readOidValue(final DatagramReader reader); static String readOidString(final DatagramReader reader); static String readSubjectPublicKeyAlgorithm(final byte[] data); static PublicKey readSubjectPublicKey(final byte[] data); static String readPrivateKeyAlgorithm(final byte[] data); static Keys readPrivateKey(final byte[] data); static Keys readEcPrivateKeyV2(final byte[] data); static ECPublicKey readEcPublicKey(DatagramReader reader, ECParameterSpec ecParameterSpec); static PrivateKey ensureEdDsaPrivateKeyProvider(PrivateKey privateKey); static boolean equalKeyAlgorithmSynonyms(String keyAlgorithm1, String keyAlgorithm2); static ECParameterSpec getECParameterSpec(String oid); static String getEdDsaStandardAlgorithmName(String algorithm, String def); static final String EC; static final String RSA; static final String DSA; static final String DH; static final String ECv2; static final String ED25519; static final String ED448; static final String OID_ED25519; static final String OID_ED448; static final String EDDSA; static final int EC_PUBLIC_KEY_UNCOMPRESSED; }