All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.keycloak.common.crypto.ECDSACryptoProvider Maven / Gradle / Ivy

There is a newer version: 26.0.2
Show newest version
package org.keycloak.common.crypto;

import java.io.IOException;
import java.security.interfaces.ECPrivateKey;
import java.security.interfaces.ECPublicKey;

public interface ECDSACryptoProvider {
    
    public byte[] concatenatedRSToASN1DER(final byte[] signature, int signLength) throws IOException;

    public byte[] asn1derToConcatenatedRS(final byte[] derEncodedSignatureValue, int signLength) throws IOException;

    public ECPublicKey getPublicFromPrivate(ECPrivateKey ecPrivateKey);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy