Class ClientCertificate

java.lang.Object
com.sap.cloud.security.config.ClientCertificate
All Implemented Interfaces:
ClientIdentity

public class ClientCertificate extends Object implements ClientIdentity
  • Constructor Details

    • ClientCertificate

      public ClientCertificate(@Nullable String certificate, @Nullable String key, @Nullable String clientId)
      Represents certificate based client identity.
      Parameters:
      certificate - PEM encoded X.509 certificate of the OAuth 2.0 client
      key - PEM encoded X.509 private key of the OAuth 2.0 client
      clientId - ID of the OAuth 2.0 client requesting the token.
    • ClientCertificate

      public ClientCertificate(@Nullable Certificate[] certificateChain, @Nullable PrivateKey privateKey, @Nullable String clientId)
      Represents certificate based client identity.
      Parameters:
      certificateChain - Certificate chain of the OAuth 2.0 client
      privateKey - Private key of the OAuth 2.0 client
      clientId - ID of the OAuth 2.0 client requesting the token.
  • Method Details