public byte[] generateSignature(byte[] message) { if (key == null) { throw new IllegalStateException("signing key no longer usable"); } byte[] sig = gmssSigner.generateSignature(message); key = key.nextKey(); return sig; }
public GMSSPrivateKeyParameters nextKey() { GMSSPrivateKeyParameters nKey = new GMSSPrivateKeyParameters(this); nKey.nextKey(gmssPS.getNumOfLayers() - 1); return nKey; }
public GMSSPrivateKeyParameters nextKey() { GMSSPrivateKeyParameters nKey = new GMSSPrivateKeyParameters(this); nKey.nextKey(gmssPS.getNumOfLayers() - 1); return nKey; }
nextKey(layer - 1);