Class DerEncoder

java.lang.Object
com.google.api.client.json.webtoken.DerEncoder

public class DerEncoder extends Object
Utilities for re-encoding a signature byte array with DER encoding.

Note: that this is not a general purpose encoder and currently only handles 512 bit signatures. ES256 verification algorithms expect the signature bytes in DER encoding.

  • Constructor Details

    • DerEncoder

      public DerEncoder()