Package org.springframework.expression.spel

Examples of org.springframework.expression.spel.SpelReproTests$Holder


        catch (Exception e)
        {
            throw new CertificateParsingException(e.getMessage());
        }

        holder = new Holder(new IssuerSerial(generateGeneralNames(name),
            new ASN1Integer(cert.getSerialNumber())));
    }
View Full Code Here


            new ASN1Integer(cert.getSerialNumber())));
    }

    public AttributeCertificateHolder(X509Principal principal)
    {
        holder = new Holder(generateGeneralNames(principal));
    }
View Full Code Here

     * @param objectDigest The hash value.
     */
    public AttributeCertificateHolder(int digestedObjectType,
        String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest)
    {
        holder = new Holder(new ObjectDigestInfo(digestedObjectType,
            new ASN1ObjectIdentifier(otherObjectTypeID), new AlgorithmIdentifier(digestAlgorithm), Arrays
                .clone(objectDigest)));
    }
View Full Code Here

        catch (Exception e)
        {
            throw new CertificateParsingException(e.getMessage());
        }

        holder = new Holder(new IssuerSerial(generateGeneralNames(name),
            new DERInteger(cert.getSerialNumber())));
    }
View Full Code Here

            new DERInteger(cert.getSerialNumber())));
    }

    public AttributeCertificateHolder(X509Principal principal)
    {
        holder = new Holder(generateGeneralNames(principal));
    }
View Full Code Here

     * @param objectDigest The hash value.
     */
    public AttributeCertificateHolder(int digestedObjectType,
        String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest)
    {
        holder = new Holder(new ObjectDigestInfo(digestedObjectType,
            otherObjectTypeID, new AlgorithmIdentifier(digestAlgorithm), Arrays
                .clone(objectDigest)));
    }
View Full Code Here

        catch (Exception e)
        {
            throw new CertificateParsingException(e.getMessage());
        }
       
        holder = new Holder(new IssuerSerial(generateGeneralNames(name), new DERInteger(cert.getSerialNumber())));
    }
View Full Code Here

    }
   
    public AttributeCertificateHolder(
        X509Principal principal)
    {       
        holder = new Holder(generateGeneralNames(principal));
    }
View Full Code Here

    public AttributeCertificateHolder(
        X500Principal principal)
    {
        try
        {
            holder = new Holder(generateGeneralNames(new X509Principal(principal.getEncoded())));
        }
        catch (IOException e)
        {
            throw new IllegalArgumentException("Can't process principal");
        }
View Full Code Here

                return new SimpleTestResult(false,
                        "failed AC Version test for id " + id);
            }

            // Holder
            Holder h = acInfo.getHolder();
            if (h == null)
            {
                return new SimpleTestResult(false,
                        "failed AC Holder test, it's null, for id " + id);
            }
View Full Code Here

TOP

Related Classes of org.springframework.expression.spel.SpelReproTests$Holder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.