Interface JoseAlgorithm

All Superinterfaces:
Algorithm
All Known Subinterfaces:
BlockEncryptionAlgorithm, EncryptionAlgorithm, KeyTransportAlgorithm, MacAlgorithm, RSAPSSSignatureAlgorithm, SignatureAlgorithm
All Known Implementing Classes:
AbstractEncryptionAlgorithm, AbstractJoseAlgorithm, AbstractKeyBasedAlgorithm, BlockEncryptionAlgorithmImpl, KeyTransportAlgorithmImpl, MacAlgorithmImpl, NoParamsRSAPSSSignatureAlgorithm, RSAPSSSignatureAlgorithmImpl, SignatureAlgorithmImpl, SymmetricKeyWrapImpl

public interface JoseAlgorithm extends Algorithm
An extension to the Algorithm interface that also gives the JOSE representation of the algorithm.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.nimbusds.jose.Algorithm
    Gets the JOSE (Javascript Object Signing and Encryption) algorithm representation.

    Methods inherited from interface se.swedenconnect.security.algorithms.Algorithm

    getJcaName, getOrder, getType, getUri, isBlacklisted
  • Method Details

    • getJoseAlgorithm

      com.nimbusds.jose.Algorithm getJoseAlgorithm()
      Gets the JOSE (Javascript Object Signing and Encryption) algorithm representation.
      Returns:
      the JOSE algorithm, or null if no JOSE representation for the algorithm exists