All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.vipr.model.keystore.TrustedCertificate Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2014 EMC Corporation
 * All Rights Reserved
 */

package com.emc.vipr.model.keystore;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "certificate")
public class TrustedCertificate {

    private boolean userSupplied;
    private String certString;

    public TrustedCertificate() {

    }

    public TrustedCertificate(String certString, boolean userSupplied) {
        this.userSupplied = userSupplied;
        this.certString = certString;
    }

    @XmlElement(name = "user_supplied")
    public boolean getUserSupplied() {
        return userSupplied;
    }

    public void setUserSupplied(boolean userSupplied) {
        this.userSupplied = userSupplied;
    }

    @XmlElement(name = "cert")
    public String getCertString() {
        return certString;
    }

    public void setCertString(String certString) {
        this.certString = certString;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy