ParseEncodedKeySpec
tsec.jwt.util.ParseEncodedKeySpec$
object ParseEncodedKeySpec
Attributes
- Source
- ParseEncodedKeySpec.scala
- Graph
-
- Supertypes
- Self type
-
ParseEncodedKeySpec.type
Members list
Value members
Concrete methods
def concatSignatureToDER[F[_], A](signature: Array[Byte])(implicit me: MonadError[F, Throwable], ecTag: ECKFTag[A]): F[Array[Byte]]
Signature transcode to der as required by the JCA.
Signature transcode to der as required by the JCA. Adapted from the implementation in scala-jwt, which itself was adapted from jose4j, which itself was adapted from from org.apache.xml.security.algorithms.implementations.SignatureECDSA in the (Apache 2 licensed) Apache Santuario XML Security library.
Value parameters
- me
-
MonadError Instance
- signature
-
the signature to convert to DER
Attributes
- Returns
- Source
- ParseEncodedKeySpec.scala
def derToConcat[F[_], A](derSignature: Array[Byte])(implicit ecTag: ECKFTag[A], me: MonadError[F, Throwable]): F[Array[Byte]]
ASN.1/DER to the concat required by https://tools.ietf.org/html/rfc7518#section-3.4 Adapted from scala-jwt, itself adapted from jose4j
ASN.1/DER to the concat required by https://tools.ietf.org/html/rfc7518#section-3.4 Adapted from scala-jwt, itself adapted from jose4j
Attributes
- Source
- ParseEncodedKeySpec.scala
Attributes
- Source
- ParseEncodedKeySpec.scala
Attributes
- Source
- ParseEncodedKeySpec.scala
In this article