to top
Android APIs
public abstract class

CertPathBuilderSpi

extends Object
java.lang.Object
   ↳ java.security.cert.CertPathBuilderSpi

Class Overview

The Service Provider Interface (SPI) for the CertPathBuilder class to be implemented by security providers.

Summary

Public Constructors
CertPathBuilderSpi()
Creates a new CertPathBuilderSpi instance.
Public Methods
abstract CertPathBuilderResult engineBuild(CertPathParameters params)
Builds a certification path with the specified algorithm parameters.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertPathBuilderSpi ()

Since: API Level 1

Creates a new CertPathBuilderSpi instance.

Public Methods

public abstract CertPathBuilderResult engineBuild (CertPathParameters params)

Since: API Level 1

Builds a certification path with the specified algorithm parameters.

Parameters
params the algorithm parameters.
Returns
  • a result of the build.
Throws
CertPathBuilderException if the build fails.
InvalidAlgorithmParameterException if the specified parameters cannot be used to build the path with this builder.