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

com.ionic.sdk.cipher.aes.model.AesKeyHolder Maven / Gradle / Ivy

Go to download

The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.

There is a newer version: 2.9.0
Show newest version
package com.ionic.sdk.cipher.aes.model;

import java.security.Key;

/**
 * Container for an instance of a symmetric cryptography key.
 */
public final class AesKeyHolder {

    /**
     * The native Java keypair used to perform cryptographic operations.
     */
    private final Key key;

    /**
     * Constructor.
     *
     * @param key the native Java keypair used to perform cryptographic operations
     */
    public AesKeyHolder(final Key key) {
        this.key = key;
    }

    /**
     * @return the native Java public key used to perform cryptographic operations
     */
    public Key getKey() {
        return key;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy