Java Code Examples for java.security.cert.CertStoreParameters#toString()

The following examples show how to use java.security.cert.CertStoreParameters#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CertStoreCollectionSpi.java    From TorrentEngine with GNU General Public License v3.0 5 votes vote down vote up
public CertStoreCollectionSpi(CertStoreParameters params)
       throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof CollectionCertStoreParameters))
       {
           throw new InvalidAlgorithmParameterException( "org.bouncycastle.jce.provider.CertStoreCollectionSpi: parameter must be a CollectionCertStoreParameters object\n" +  params.toString() );
       }

    this.params = (CollectionCertStoreParameters)params;
}
 
Example 2
Source File: MultiCertStoreSpi.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public MultiCertStoreSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof MultiCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException("org.ripple.bouncycastle.jce.provider.MultiCertStoreSpi: parameter must be a MultiCertStoreParameters object\n" +  params.toString());
    }

    this.params = (MultiCertStoreParameters)params;
}
 
Example 3
Source File: CertStoreCollectionSpi.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public CertStoreCollectionSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof CollectionCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException("org.ripple.bouncycastle.jce.provider.CertStoreCollectionSpi: parameter must be a CollectionCertStoreParameters object\n" +  params.toString());
    }

    this.params = (CollectionCertStoreParameters)params;
}
 
Example 4
Source File: X509LDAPCertStoreSpi.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public X509LDAPCertStoreSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof X509LDAPCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException(
            X509LDAPCertStoreSpi.class.getName() + ": parameter must be a " + X509LDAPCertStoreParameters.class.getName() + " object\n"
                + params.toString());
    }

    this.params = (X509LDAPCertStoreParameters)params;
}
 
Example 5
Source File: MultiCertStoreSpi.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public MultiCertStoreSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof MultiCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException("org.ripple.bouncycastle.jce.provider.MultiCertStoreSpi: parameter must be a MultiCertStoreParameters object\n" +  params.toString());
    }

    this.params = (MultiCertStoreParameters)params;
}
 
Example 6
Source File: CertStoreCollectionSpi.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public CertStoreCollectionSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof CollectionCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException("org.ripple.bouncycastle.jce.provider.CertStoreCollectionSpi: parameter must be a CollectionCertStoreParameters object\n" +  params.toString());
    }

    this.params = (CollectionCertStoreParameters)params;
}
 
Example 7
Source File: X509LDAPCertStoreSpi.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public X509LDAPCertStoreSpi(CertStoreParameters params)
    throws InvalidAlgorithmParameterException
{
    super(params);

    if (!(params instanceof X509LDAPCertStoreParameters))
    {
        throw new InvalidAlgorithmParameterException(
            X509LDAPCertStoreSpi.class.getName() + ": parameter must be a " + X509LDAPCertStoreParameters.class.getName() + " object\n"
                + params.toString());
    }

    this.params = (X509LDAPCertStoreParameters)params;
}