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

org.openstack4j.model.barbican.Secret Maven / Gradle / Ivy

The newest version!
package org.openstack4j.model.barbican;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.barbican.builder.SecretCreateBuilder;

import java.util.Date;
import java.util.Map;

/**
 * Created by reneschollmeyer on 02.08.17.
 */
public interface Secret extends ModelEntity, Buildable {

    /**
     * @return algorithm.
     */
    String getAlgorithm();

    /**
     * @return bit length of the secret. Must be greater than zero.
     */
    Integer getBitLength();

    /**
     * @return content type of the secret.
     */
    Map getContentTypes();

    /**
     * @return system generated creation time.
     */
    Date getCreateTime();

    /**
     * @return system generated last update time.
     */
    Date getUpdateTime();

    /**
     * @return user uuid of the creator of this secret.
     */
    String getCreatorId();

    /**
     * @return expiration of the secret.
     */
    Date getExpiration();

    /**
     * @return mode of the secret.
     */
    String getMode();

    /**
     * @return name of the secret.
     */
    String getName();

    /**
     * @return URL reference to the secret.
     */
    String getSecretReference();

    /**
     * @return secret type.
     */
    String getSecretType();

    /**
     * @return current status of the secret.
     */
    String getStatus();

    /**
     * @return stored secret data.
     */
    String getPayload();

    /**
     * @return content type of the secret data.
     */
    String getPayloadContentType();

    /**
     * @return encoding used for the data.
     */
    String getPayloadContentEncoding();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy