com.princexml.wrapper.enums.KeyBits Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prince-java-wrapper Show documentation
Show all versions of prince-java-wrapper Show documentation
This library contains class files that provide a Java interface to Prince.
The newest version!
/*
* Copyright (C) 2021 YesLogic Pty. Ltd.
* All rights reserved.
*/
package com.princexml.wrapper.enums;
/**
* Encryption key sizes.
*/
public enum KeyBits {
/** Equates to the integer {@code 40}. */
BITS40(40),
/** Equates to the integer {@code 128}. */
BITS128(128);
private final int keyBits;
KeyBits(int keyBits) {
this.keyBits = keyBits;
}
/**
* Return the underlying {@code KeyBits} value.
* @return The underlying KeyBits value.
*/
public int getValue() {
return this.keyBits;
}
@Override
public String toString() {
return Integer.toString(this.keyBits);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy