public class

X509KeyInfoProvider

extends Object
implements KeyInfoProvider
java.lang.Object
   ↳ org.mule.module.xmlsecurity.keyinfo.X509KeyInfoProvider

Class Overview

Provides the Key Info Using a keystore

Summary

Fields
private CanonicalizationAlgorithm canonicalizationAlgorithm
private KeyStore.PrivateKeyEntry keyEntry
private String keystoreKey
private String password
private SignatureMethodAlgorithm signatureMethod
Public Constructors
X509KeyInfoProvider(CanonicalizationAlgorithm canonicalizationAlgorithm, String keystore, String password, String keystoreKey, SignatureMethodAlgorithm signatureMethod)
Constructor
Public Methods
KeyInfo getKeyInfo()
Key getSecretKey()
SignedInfo getSignedInfo(Reference ref)
Creates the SignedInfo object that will be used to create the SignedInfo tag.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.module.xmlsecurity.keyinfo.KeyInfoProvider

Fields

private CanonicalizationAlgorithm canonicalizationAlgorithm

private KeyStore.PrivateKeyEntry keyEntry

private String keystoreKey

private String password

private SignatureMethodAlgorithm signatureMethod

Public Constructors

public X509KeyInfoProvider (CanonicalizationAlgorithm canonicalizationAlgorithm, String keystore, String password, String keystoreKey, SignatureMethodAlgorithm signatureMethod)

Constructor

Parameters
canonicalizationAlgorithm The canonicalization algorithm
keystore The keystore path
password The keystore password
keystoreKey The keystore key
signatureMethod

Public Methods

public KeyInfo getKeyInfo ()

public Key getSecretKey ()

public SignedInfo getSignedInfo (Reference ref)

Creates the SignedInfo object that will be used to create the SignedInfo tag.

Parameters
ref The referenced object.
Returns
  • The Signed info.