Class StaticDPoPKeyProvider

java.lang.Object
com.mastercard.developer.oauth2.core.dpop.StaticDPoPKeyProvider
All Implemented Interfaces:
DPoPKeyProvider

public final class StaticDPoPKeyProvider extends Object implements DPoPKeyProvider
Provides a static DPoP key pair that remains constant throughout the application lifecycle. The key identifier is the public key thumbprint. This provider is suitable for scenarios where key rotation is not required.
  • Constructor Details

    • StaticDPoPKeyProvider

      public StaticDPoPKeyProvider(KeyPair keyPair)
      Creates a new static DPoP key provider with the specified key pair. The key identifier is automatically computed from the public key.
  • Method Details